get.trait.data.Rd
Get trait data from the database.
get.trait.data(pfts, modeltype, dbfiles, database, forceupdate, trait.names = NULL)
pfts | the list of pfts to get traits for |
---|---|
modeltype | type of model that is used, this is is used to distinguis between different pfts with the same name. |
dbfiles | location where previous results are found |
database | database connection parameters |
forceupdate | set this to true to force an update, false to check to see if an update is needed. |
trait.names | list of traits to query. If TRUE, uses trait.dictionary |
list of pfts with update posteriorids
This will use the following items from setings: - settings$pfts - settings$model$type - settings$database$bety - settings$database$dbfiles - settings$meta.analysis$update