invert.auto: Inversion with automatic convergence checking

Description Usage Arguments Details Value

View source: R/invert.auto.R

Description

Inversion with automatic convergence checking

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
invert.auto(
  observed,
  invert.options,
  return.samples = TRUE,
  save.samples = NULL,
  quiet = FALSE,
  parallel = TRUE,
  parallel.cores = NULL,
  parallel.output = "/dev/null"
)

Arguments

observed

Vector, matrix, or data frame (coerced to matrix) of observed values. For spectral data, wavelengths are rows and spectra are columns. Dimensions must align with the output of model.

invert.options

Parameters related to inversion.

return.samples

Include full samples list in output. Default = TRUE.

save.samples

Save samples to file as the inversion proceeds (useful for debugging). If NULL, do not save samples. Default = NULL.

quiet

Suppress progress bar and status messages. Default=FALSE

parallel

Logical. Whether or not to run multiple chains in parallel on multiple cores (default = TRUE).

parallel.cores

Number of cores to use for parallelization. If NULL (default), allocate one fewer than detected number of cores.

parallel.output

Filename (or ” for stdout) for printing parallel outputs. Use with caution. Default = '/dev/null'.

Details

Performs an inversion via the invert.custom function with multiple chains and automatic convergence checking. Convergence checks are performed using the multivariate Gelman-Rubin diagnostic.

Parameters specific to invert.auto are described here. For the remaining parameters, see invert.custom().

Value

List including results (summary statistics), samples (mcmc.list object, or NA if return.samples=FALSE), and other information.


ashiklom/PEcAnRTM documentation built on March 7, 2020, 7:46 a.m.