Learn R Programming

geoR (version 1.3-0)

output.control: Defines output options for prediction functions

Description

Auxiliary function defining output options for krige.bayes and krige.conv.

Usage

output.control(n.posterior, n.predictive, moments, n.back.moments,
               simulations.predictive, mean.var, quantile,
               threshold, signal, messages.screen)

Arguments

n.posterior
number of samples to be taken from the posterior distribution. Defaults to 1000.
n.predictive
number of samples to be taken from the predictive distribution. Default equals to n.posterior.
moments
logical. Indicates whether the moments of the predictive distribution are returned. If lambda = 1 there is no transformation/back-transformation. If lambda = 0 or lambda = 0.5 the moments are back-tra
n.back.moments
number of sample to back-transform moments by simulation. Defaults to 1000.
simulations.predictive
logical. Defines whether to draw simulations from the predictive distribution. Only considered if prediction locations are provided in the argument locations of the main functions. Defaults to FALSE but changed to
mean.var
logical (optional). Indicates whether mean and variances of the simulations of the predictive distributions are computed and returned.
quantile
a (optional) numeric vector. If provided indicates whether quantiles of the simulations from the predictive distributions are computed and returned. If a vector with numbers in the interval $[0,1]$ is provided, the output includes the
threshold
a (optional) numerical vector. If one or more values are provided, object named probabilities is included in the output. This object contains, for each prediction location, the probability that the variable is less than or
signal
logical. If TRUE the signal is predicted, otherwise the variable is predicted. If no transformation is performed the expectations are the same in both cases and the kriging variances are different when the nugget parameter is
messages.screen
logical. Indicates whether or not status messages are printed on the output device while the function is running. Defalts to TRUE.

Value

  • A list with processed arguments to be passed to the main function.

See Also

krige.bayes and krige.conv