allom.predict.Rd
Function for making tree-level Monte Carlo predictions from allometric equations estimated from the PEcAn allometry module
allom.predict(
object,
dbh,
pft = NULL,
component = NULL,
n = NULL,
use = "Bg",
interval = "prediction",
single.tree = FALSE
)
Allometry model object. Option includes
- mcmc outputs in a list by PFT then component
- path(s) to AllomAve RData files
-
Diameter at Breast Height (cm)
Plant Functional Type. Needs to match the name used in AllomAve. Can be NULL if only one PFT/species exists, otherwise needs to the same length as dbh
Which component to predict. Can be NULL if only one component was analysed in AllomAve.
Number of Monte Carlo samples. Defaults to the same number as in the MCMC object
c('Bg','mu','best')
c('none','confidence','prediction') default is prediction
logical: Is this a DBH time series from one individual tree? If TRUE, will use a fixed error for all draws.
matrix of Monte Carlo predictions that has n rows and one column per DBH
if (FALSE) { # \dontrun{
object = '~/Dropbox//HF C Synthesis/Allometry Papers & Analysis/'
dbh = seq(10,50,by=5)
mass = allom.predict(object,dbh,n=100)
} # }