plot.krige.bayes
Plots Prior and/or Posterior Distributions
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 funtionskrige.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 functionbarplot
and the others usesmatplot
.- thin
a numerical vector defining the thining for values of the parameters
phi
andtausq.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
Examples
# NOT RUN {
## See documentation for krige.bayes
# }