likfit
to a current variogram plot.## S3 method for class 'likGRF':
lines.variomodel(x, max.dist, scaled = FALSE, \dots)
likGRF
which is a list containing
information about the fitted model parameters, typically an output
of the function likfit
.obj$max.dist
.TRUE
the total sill in the plot is
equals to $1$.curve
.plot.variogram
can be
used to compare sample variograms against fitted models returned by
likfit
.lines.variomodel
,
lines.variomodel.variofit
,
plot.variogram
, lines.variogram
,
variofit
, likfit
, curve
.# compute and plot empirical variogram
vario <- variog(s100, max.dist = 1)
plot(vario)
# estimate parameters
vario.ml <- likfit(s100, ini = c(1, .3), fix.nugget = TRUE)
# adds fitted model to the plot
lines(vario.ml)
Run the code above in your browser using DataLab