plot.vargm | R Documentation |
Plots the empirical variogram for observed measurements, of an
object of class vargm
, obtained by using function
variogram
.
## S3 method for class 'vargm' plot(x, smooth = FALSE, bdw = NULL, follow.time = NULL, points = TRUE, ...)
x |
object of class |
smooth |
logical value to use a non-parametric estimator to calculate
the variogram of all v_ijk. The default is |
bdw |
bandwidth to use in the time averages. The default is |
follow.time |
the interval of time we want to construct the variogram
for. When |
points |
logical value if the points v_ijk should be plotted. |
... |
other graphical options as in |
A graphical device with the plot of empirical variogram.
Ines Sousa
data(mental) mental.unbalanced <- to.unbalanced(mental, id.col = 1, times = c(0, 1, 2, 4, 6, 8), Y.col = 2:7, other.col = c(8, 10, 11)) names(mental.unbalanced)[3] <- "Y" vgm <- variogram(indv = tail(mental.unbalanced[, 1], 30), time = tail(mental.unbalanced[, 2], 30), Y = tail(mental.unbalanced[, 3], 30)) plot(vgm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.