Interpolate Diameters or Lengths in a "Stem" Object

Description

Taper information is stored in a data frame within the taper slot of a "downLog" or "standingTree" object. This function lets one interpolate diameters at given lengths/heights, or vice versa from the taper data. This is done using either the built-in taper function or splines, depending on the value of the solidType slot in the object. Please see the methods in taperInterpolate-methods for more details.

Usage

1

Arguments

object

See methods for the possibilites of this signature argument.

...

Just gobbled for now.

Details

Please note that the routine will throw an error if the points you select for interpolation are not found in the stem.

If solidType = NULL then the user has supplied their own taper data, and splines are used for the interpolation. Otherwise, the built-in taper function is used since the taper data were generated from it.

Value

A numeric vector with the interpolated diameters or lengths/heights.

Author(s)

Jeffrey H. Gove

See Also

"downLog", "standingTree", The Stem Class vignette.

Examples

1
2
3
dl = downLog(buttDiam=12, topDiam=2, logLen=10, units="English")
dl@taper
taperInterpolate(dl, pts=c(2.6, 4.1, 7.2))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.