Learn R Programming

sampSurf (version 0.7-6)

boltDimensions: Calculate Bolt Dimensions for “downLog” Objects

Description

This function will calculated volume, length, surface area, etc. for each bolt in a “downLog” object, where the bolts are defined by the taper slot.

Usage

boltDimensions(dlog, runQuiet = FALSE)

Arguments

dlog

An object of class "'>downLog"

runQuiet

TRUE: no feedback; FALSE: print a summary report

Value

A data frame with self-evident columns, and rows representing bolts. For example, cross-check the diameters and lengths with the log's taper slot. The "biomass" and "carbon" columns will be NA if no conversions have been given for the log at creation.

Details

Nothing is stored in a “downLog” object with respect to the individual bolts except the taper measurements in the taper slot. This allows the easy computation of different attributes for each bolt as described above.

See Also

"'>downLog"

Examples

Run this code
# NOT RUN {
dl = downLog(logLen=5, nSegs=10)
dl@taper
(boltDimensions(dl))
# }

Run the code above in your browser using DataLab