quad_prod | R Documentation |
Currently only implemented for Cort models. Compute the L2 quadratic product of 2 trees
quad_prod(object, other_tree)
## S4 method for signature 'Cort,Cort'
quad_prod(object, other_tree)
object |
: the tree |
other_tree |
: the other tree |
the quadratic product between the trees
quad_prod,Cort,Cort-method
: Method for the class Cort
cop <- Cort(LifeCycleSavings[,1:3])
all.equal(quad_prod(cop,cop),quad_norm(cop))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.