Returns the "cost_needed_for_top_fraction" column from Zonation curves file. Note that the cost is the same in curves and grp_curves files. pr_lost is always included in the returned data, but no other columns are included.

cost(x)

# S4 method for Zresults
cost(x)

# S4 method for Zvariant
cost(x)

Arguments

x

Z* object.

Value

data.frame object with two columns:

  • pr_lostProportion of landscape lost.

  • costCost of a given fraction of the solution.

If no results are available, return NA.

Details

Method implementation in class Zvariant is just a thin wrapper for passing the argumets to variant's codeZresults object.

See also