variogram | R Documentation |
deform
objectPlot the variogram for a fitted deform
object
variogram(object, bins = 20, bin.function = "pretty", trim = 0, ...)
object |
a fitted |
bins |
an integer specifying the number of bins for plotting |
bin.function |
a character specifying a function to use to calculate bins; defaults to |
trim |
a scalar in [0, 0.5], which is passed to |
... |
extra arguments to pass to |
Plot of variogram
# deformations
data(solar)
m0 <- deform(solar$x, solar$z, solar$n)
# empirical versus model-based variogram estimates against distance,
# where distance is based on D-space
variogram(m0)
# which is the default with approximately 20 bins, i.e. variogram(m0, bins = 20)
# variogram for one-dimensional expansion without binning
data(solar)
m1 <- expand(solar$x, solar$z, solar$n)
variogram(m1, bins = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.