cost-methods: Get cost data of a Z* object.

Description Usage Arguments Details Value Author(s) See Also

Description

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.

Usage

1
2
3
4
5
6
7
cost(x)

## S4 method for signature 'Zresults'
cost(x)

## S4 method for signature 'Zvariant'
cost(x)

Arguments

x

Z* object.

Details

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

Value

data.frame object with two columns:

If no results are available, return NA.

Author(s)

Joona Lehtomaki [email protected]

See Also

Zresults-class Zvariant-class


zonator documentation built on Dec. 17, 2017, 5:03 p.m.