Skip to contents

The integer the C++ covariance family is selected by, from the name a cov = argument carries. One mapping, read by every path that hands a covariance choice to compiled code, so a fit and a prediction cannot be made under different kernels. A name the family does not know is an error rather than a silent exponential.

Usage

cov_type_code(cov)

Arguments

cov

One of "exponential", "matern", "gaussian", "spherical"

Value

Integer code in 0:3