Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/generate_log_volumes.r
This function generates a dataframe object that contains the original stem measurements and appends columns named by log.grades, where log.grades corresponds to the minimum log diameters defined by log.breaks.
1 2 3 |
x |
The dataframe containing the original stem measurements. |
log.breaks |
The vector defining the minimum diameters for the log grades defined by log.grades. |
log.grades |
The vector defining the text labels for the log.breaks. |
The function generates summaries, by species, for common statistics used in growth and yield simulations.
It performs the same function as the sp.sums
function in the Rconifers library.
A dataframe that contains the original stem measurements with the log volumes appended for each species.
Jeff D. Hamann <jeff.hamann@forestinformatics.com>
Robinson, A.P., and J.D. Hamann. 2010. Forest Analytics with R: an Introduction. Springer.
1 2 3 4 | # test <- data.frame(a = c(1,2), b = c(3,4))
# show.cols.with.na(test)
# is.na(test$a[2]) <- TRUE
# show.cols.with.na(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.