Learn R Programming

geoR (version 1.9-5)

pars.limits: Set limits for the parameter values

Description

The functions likfit and variofit in the package geoR

Usage

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)

Arguments

Value

A list of a 2 elements vector with limits for each parameters

Details

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.

See Also

likfit, variofit

Examples

Run this code
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