Skip to contents

This is a class used to construct outerbase class instances. It stores key information for constructing a basis.

Value

no returns, this is a class which contains methods

Fields

outermod$updatehyp(hyp)

update hyperparameters

outermod$selectterms(numterms)

find best numterms terms

outermod$getvar(terms)

find variances of coefficients associated with terms

See also

outerbase the main product from an outermod

setcovfs, setknot, gethyp

Examples

om = new(outermod)
setcovfs(om, c("mat25", "mat25", "mat25"))
setknot(om,
         list(seq(0,1,by=0.01),seq(0,1,by=0.01),seq(0,1,by=0.01)))
terms = om$selectterms(40)
coeffvar =om$getvar(terms)
hyp = gethyp(om)
hyp[1:2] = 0.5
om$updatehyp(hyp)
coeffvar = om$getvar(terms)