plot.variog4 | R Documentation |
This function plot directional variograms computed by the function
variog4
. The omnidirectional variogram can be also included
in the plot.
## S3 method for class 'variog4'
plot(x, omnidirectional=FALSE, same.plot=TRUE, legend = TRUE, ...)
x |
an object of the class |
omnidirectional |
logical. Indicates whether the omnidirectional variogram is included in the plot. |
same.plot |
logical. Indicates whether the directional variograms are plotted in the same or separated plots. |
legend |
logical indicating whether legends are automatically included in the plots. |
... |
further arguments to be passed to the function
|
A plot is produced on the output device. No values returned.
Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
Further information about the geoR package can be found at:
http://www.leg.ufpr.br/geoR/.
variog4
for variogram calculations and
matplot
for multiple lines plotting.
s100.v4 <- variog4(s100, max.dist=1)
# Plotting variograms for the four directions
plot(s100.v4)
# changing plot options
plot(s100.v4, lwd=2)
plot(s100.v4, lty=1, col=c("darkorange", "darkblue", "darkgreen","darkviolet"))
plot(s100.v4, lty=1, lwd=2)
# including the omnidirectional variogram
plot(s100.v4, omni=TRUE)
# variograms on different plots
plot(s100.v4, omni=TRUE, same=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.