Learn R Programming

outerbase (version 0.1.0)

setknot: 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab