invert.custom: Bayesian inversion of a model

Description Usage Arguments Details References

View source: R/invert.custom.R

Description

Performs an inversion of an arbitrary model using a modified Metropolis Hastings algorithm with block sampling. This may be slightly slower than the implementation in Fortran, but is much more customizable, as the model can be any R function.

Usage

1
2
3
4
5
6
7
invert.custom(
  observed,
  invert.options,
  quiet = FALSE,
  return.resume = FALSE,
  runID = 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

R list object containing inversion settings. See details.

quiet

Suppress progress bar and status messages. Default=FALSE

return.resume

If TRUE, return results as list that includes current Jump distribution (useful for continuing an ongoing run) and acceptance rate. Default = FALSE.

runID

Run-unique ID. Useful for parallel runs. Default=NULL

Details

inversion.options contains the following:

References


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