Description Usage Arguments Details Value Author(s) See Also Examples
This function produces an image or perspective plot of a selected
element
of the predictive distribution
returned by the functions binom.krige.bayes
and pois.krige.bayes
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S3 method for class 'glm.krige.bayes'
image(x, locations, borders,
values.to.plot=c("median", "uncertainty",
"quantiles", "probabilities", "simulation"),
number.col, coords.data, x.leg, y.leg, messages,...)
## S3 method for class 'glm.krige.bayes'
persp(x, locations, borders,
values.to.plot=c("median", "uncertainty",
"quantiles", "probabilities", "simulation"),
number.col, messages, ...)
|
x |
an object of the class |
locations |
an n x 2 matrix with the
coordinates of the prediction locations, which should define a
regular grid
in order to be plotted by |
borders |
an n x 2 matrix with the
coordinates defining the borders of a region inside the grid defined
by |
values.to.plot |
select the element of the predictive distribution to be plotted. See DETAILS below. |
number.col |
Specifies the number of the column to be plotted.
Only used if previous argument is set to one of |
coords.data |
optional. If an n x 2 matrix with the data coordinates is provided, points indicating the data locations are included in the plot. |
x.leg, y.leg |
limits for the legend in the horizontal and vertical directions. |
messages |
logical, if TRUE status messages are printed while running the function. |
... |
extra arguments to be passed to the plotting function
|
The functions binom.krige.bayes
and pois.krige.bayes
return
summaries and other results about the predictive distributions.
The argument values.to.plot
specifies which result will be
plotted. It can be passed to the function in two different forms:
a vector with the object containing the values to be plotted, or
one of the following options:
"median"
,
"uncertainty"
,
"quantiles"
,
"probability"
or
"simulation"
.
For the last three options, if the results are stored in matrices,
a column number must be provided using the argument number.col
.
The documentation for the functions binom.krige.bayes
and
pois.krige.bayes
provide
further details about these options.
An image
or persp
plot is produced on the
current graphics device. No values are returned.
Ole F. Christensen OleF.Christensen@agrsci.dk,
Paulo J. Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br.
image.krige.bayes
for plotting output from krige.bayes
1 | #See examples in the documentation for the functions binom.krige.bayes and pois.krige.bayes .
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.