powered by
This function allows adds a legend to an image plot generated by image.kriging or image.krige.bayes. It can be called internally by these functions or directly by the user.
image.kriging
image.krige.bayes
legend.krige(x.leg, y.leg, values, scale.vals, vertical = FALSE, offset.leg = 1, ...)
A legend is added to the current plot. No values are returned.
limits for the legend in the \(x\) direction.
limits for the legend in the \(y\) direction.
values plotted in the image.
optional. Values to appear in the legend. If not provided the function pretty is used to define the values.
pretty
If TRUE the legend is drawn in the vertical direction. Defaults to FALSE.
TRUE
FALSE
numeric value controlling the distance between the legend text and the legend box.
further arguments to be passed to the function text.
text
Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br, Peter J. Diggle p.diggle@lancaster.ac.uk.
Further information on the package geoR can be found at: http://www.leg.ufpr.br/geoR/.
image.kriging, image.krige.bayes.
# See examples in the documentation for image.kriging
Run the code above in your browser using DataLab