single.MA.Rd
Individual Meta-analysis
single.MA(
data,
j.chains,
j.iter,
tauA,
tauB,
prior,
jag.model.file,
overdispersed = TRUE
)
data frame generated by jagify function with indexed values for greenhouse, treatment, and site (ghs, trt, site) as well as Y, SE, and n for each observation or summary statistic.
number of chains in meta-analysis
number of mcmc samples
prior on variance parameters
prior on variance parameters
data.frame with columns named 'distn', 'parama', 'paramb'
e.g. prior <- data.frame(distn = 'weibull', parama = 0.5, paramb = 10, n = 1)
file to which model will be written
if TRUE (default), chains start at overdispersed locations in parameter space (recommended)
jags.out, an mcmc.object with results of meta-analysis
Individual meta-analysis for a specific trait and PFT is run by the function single.MA. This will allow power analysis to run repeated MA outside of the full loop over traits and PFTs.