geoR (version 1.8-1)

plot.krige.bayes: Plots Prior and/or Posterior Distributions

Description

Produces plots the priors and posteriors distribuitions for the paramters phi and tausq.rel based on results returned by krige.bayes.

Usage

# S3 method for krige.bayes
plot(x, phi.dist = TRUE, tausq.rel.dist = TRUE, add = FALSE,
                 type=c("bars", "h", "l", "b", "o", "p"), thin, …)

Arguments

x

an object of the class krige.bayes, with an output of the funtions krige.bayes.

phi.dist

logical indicating whether or not plot the distributions for this parameter.

tausq.rel.dist

logical indicating whether or not plot the distributions for this parameter.

add

logical. If TRUE plots is added to current one.

type

indicates the type of plot. Option "bars" uses the function barplot and the others uses matplot.

thin

a numerical vector defining the thining for values of the parameters phi and tausq.rel respectively. This improves visualisation when there are many values in the discrete distribution of the parameters.

further arguments for the plotting function.

Value

For plot.krige.bayes a plot is produced or added to the current graphics device. No values are returned.

See Also

krige.bayes, barplot, matplot.

Examples

Run this code
# NOT RUN {
## See documentation for krige.bayes
# }

Run the code above in your browser using DataLab