| image.grf {geoR} | R Documentation |
Plots an image or perspective plot with a realization of a Gaussian
random field, simulated using the function grf.
image.grf(obj, sim.number = 1, ...) persp.grf(obj, sim.number = 1, ...)
obj |
an object of the class grf, typically an output of the function
grf. |
sim.number |
simulation number. Indicates the number of the simulation top be plotted. Only valid if the object contains more than one simulation. Defaults to 1. |
... |
further arguments to be passed to the functions
image or persp. |
An image or perspective plot is produced on the current graphics device. No values are returned.
Paulo Justiniano Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
Further information about geoR can be found at:
http://www.maths.lancs.ac.uk/~ribeiro/geoR.html.
grf for simulation of Gaussian random fields,
image and persp for the generic plotting functions.
# generating 4 simulations of a Gaussian random field sim <- grf(225, grid="reg", cov.pars=c(1, .25), nsim=4) op <- par(no.readonly = TRUE) par(mfrow=c(2,2)) par(mar=c(3,3,1,1)) par(mgp = c(2,1,0)) par(pty="s") for (i in 1:4) image.grf(sim, sim.n=i) par(op)