Skip to contents

Thin wrapper around meta_analysis_standalone that also reads/writes files and registers results in the PEcAn database.

Usage

run.meta.analysis.pft(
  pft,
  iterations,
  random = TRUE,
  threshold = 1.2,
  dbfiles,
  dbcon,
  use_ghs = TRUE,
  update = FALSE
)

Arguments

pft

(list) PFT list object, as defined in settings. Must include the following: outdir, name, posteriorid

iterations

(integer) Number of sampler iterations for MCMC analysis

random

(boolean; default = TRUE) Should random effects be used?

threshold

Gelman-Rubin convergence diagnostic (MGPRF) default = 1.2 following Bolker 2008 Ecological Models and Data in R

dbfiles

(character) directory where previous results are found

dbcon

(DBI connection object) BETY database connection object

use_ghs

(boolean; default = TRUE) If TRUE, do not exclude greenhouse data

update

(boolean; default = TRUE) If TRUE, replace existing posteriors with new ones