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)
Z* object.
data.frame object with two columns:
pr_lost
Proportion of landscape lost.
cost
Cost of a given fraction of the solution.
If no results are available, return NA.
Method implementation in class Zvariant
is just a thin
wrapper for passing the argumets to variant's codeZresults object.