setknot: Set knot points

setknotR Documentation

Set knot points

Description

setknot(om, knotslist)

Sets the knot points of om to knotslist to estimate the eigenfunctions and eigenvalues. It will naturally check if the knot points have the same dimension as the covariance functions. It will also check if the knot points are within reasonable bounds for the covariance functions.

Arguments

om

an outermod instance

knotslist

a list of one dimensional vectors

Value

no value is returned, om is updated

See Also

outermod, setcovfs

Examples

om = new(outermod)
setcovfs(om, c("mat25", "mat25", "mat25"))
knotslist = list(seq(0,1,by=0.01),seq(0,1,by=0.01),seq(0,1,by=0.01))
setknot(om, knotslist)

outerbase documentation built on June 9, 2022, 5:08 p.m.