Get trait data from the database for a single PFT
Source:R/get.trait.data.pft.R
get.trait.data.pft.RdGet trait data from the database for a single PFT
Usage
get.trait.data.pft(
pft,
modeltype,
dbfiles,
dbcon,
trait.names,
forceupdate = FALSE,
write = FALSE
)Arguments
- pft
list of settings for the pft whose traits to retrieve. See details
- modeltype
type of model that is used, this is used to distinguish between different pfts with the same name.
- dbfiles
location where previous results are found
- dbcon
database connection
- trait.names
list of trait names to retrieve
- forceupdate
set this to true to force an update, auto will check to see if an update is needed.
- write
(Logical) If `TRUE` updated posteriors will be written to BETYdb. Defaults to FALSE.