runInversion: Run PROSPECT inversion

Description Usage Arguments

Description

Run PROSPECT inversion

Usage

1
runInversion(db, samplecode, modelname, custom_invert_options = NULL, ...)

Arguments

samplecode

samplecode from results table

modelname

Name of model with which to initialize table

custom_invert_options

List of invert_options to modify

...

Arguments passed on to PEcAnRTM::invert.auto

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'.


ashiklom/prospectinversion documentation built on May 12, 2019, 4:40 a.m.