Skip to content

Commit

Permalink
Merge pull request #139 from AMBarbosa/main
Browse files Browse the repository at this point in the history
vgm: state that 'model' can be a chr vector
  • Loading branch information
edzer authored Mar 14, 2024
2 parents 08f2883 + 2fdbb02 commit 5a5a454
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions man/vgm.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ as.vgm.variomodel(m)
}
\arguments{
\item{psill}{ (partial) sill of the variogram model component, or model: see Details }
\item{model}{ model type, e.g. "Exp", "Sph", "Gau", "Mat". Calling vgm() without
a model argument returns a data.frame with available models. }
\item{model}{ model type, e.g. "Exp", "Sph", "Gau", or "Mat". Can be a character vector of model
types combined with c(), e.g. c("Exp", "Sph"), in which case the best fitting is returned.
Calling vgm() without a model argument returns a data.frame with available models. }
\item{range}{ range parameter of the variogram model component; in case of anisotropy: major range }
\item{kappa}{ smoothness parameter for the Matern class of variogram
models }
Expand Down Expand Up @@ -59,7 +60,7 @@ to vgm.
}
\author{ Edzer Pebesma }
\details{ If only the first argument (\code{psill}) is given a
\code{character} value indicating a model, as in \code{vgm("Sph")},
\code{character} value/vector indicating one or more models, as in \code{vgm("Sph")},
then this taken as a shorthand form of \code{vgm(NA,"Sph",NA,NA)},
i.e. a spherical variogram with nugget and unknown parameter values;
see examples below. Read \link{fit.variogram} to find out how
Expand Down

0 comments on commit 5a5a454

Please sign in to comment.