Learn R Programming

SpatioTemporal (version 1.1.9.1)

parsCovFuns: Parameter Names for Covariance Function(s)

Description

Provides a list of parameter names for the given covariance function(s), excluding the nugget which is added elsewhere.

Usage

parsCovFuns(type = namesCovFuns(), list = FALSE)

Arguments

type

Name(s) of covariance functions, see namesCovFuns.

list

Always return a list (if FALSE returns a vector if possible)

Value

Character vector with parameter names (excluding the nugget), NULL if the name is unknown. Returns a list if type contains more than one element.

See Also

Other covariance functions: crossDist, evalCovFuns, makeSigmaB, makeSigmaNu, namesCovFuns, updateCovf

Examples

Run this code
# NOT RUN {
  ##all possible parameters
  parsCovFuns()
  ##just one covariance function
  parsCovFuns("exp")
  ##non existant covariance function
  parsCovFuns("bad.name")

# }

Run the code above in your browser using DataLab