pars.limits(phi = c(lower = 0, upper = +Inf),
sigmasq = c(lower = 0, upper = +Inf),
nugget.rel = c(lower = 0, upper = +Inf),
kappa = c(lower = 0, upper = +Inf),
kappa2 = c(lower = 0, upper = +Inf),
lambda = c(lower = -3, upper = 3),
psiR = c(lower = 1, upper = +Inf),
psiA = c(lower = 0, upper = 2 * pi),
tausq.rel = nugget.rel)
a two elements vector with limits for the parameter phi. Defaults to [0, +Inf]
idem for sigmasq. Defaults to [0, +Inf]
idem for nugget.rel. Defaults to [0, +Inf]
idem. Defaults to [0, +Inf]
idem for lambda. Defaults to [-3, +3]. Only used in
likfit
.
idem for psiR. Defaults to [1, +Inf]. Only used in
likfit
.
idem for psiA. Defaults to [0, 2 pi]. Only used in
likfit
.
idem for tausq.rel. Defaults to [0, +Inf]
A list of a 2 elements vector with limits for each parameters
Lower and upper limits for parameter values can be
individually specified.
For example, including the following in the function call in
likfit
or variofit
:
limits = pars.limits(phi=c(0, 10), lambda=c(-2.5, 2.5))
,
will change the limits for the parameters \(\phi\) and \(\lambda\).
Default values are used if the argument limits
is not provided.
# NOT RUN {
pars.limits(phi=c(0,10))
pars.limits(phi=c(0,10), sigmasq=c(0, 100))
# }
Run the code above in your browser using DataLab