run_core: Run the core model

Description Usage Arguments Value Examples

View source: R/F_runcore.R

Description

Run the core model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
run_core(
  obj,
  core_species = NULL,
  prior_el = NULL,
  dx = 0.2,
  ChainNums = seq(1, 3),
  n.iter = 15000,
  n.burnin = 1000,
  n.thin = 7,
  validation.run = FALSE,
  use_uniform_prior = FALSE
)

Arguments

obj

An object of class BTF from run_modern

dx

Parameter for spacing of spline knots

ChainNums

The number of MCMC chains

n.iter

The number of MCMC iterations

n.burnin

The number of burnin MCMC samples

n.thin

The number of thinning

core_species.csv

A .csv file containing core species counts

run.on.server

Set to TRUE for running chains in parallel on a server

use.informative.priors

Set to TRUE if prior information is available

Value

Output will be saved to output.dir

Examples

1
coremodel<-runcore(core_species.csv = "core_species.csv")

ncahill89/BTF documentation built on March 29, 2021, 12:04 p.m.