R/generics.R
, R/Cort.R
quad_prod_with_data-methods.Rd
Currently only implemented for Cort models. Compute the quadratic product with the empirical density from the data
quad_prod_with_data(object)
# S4 method for class 'Cort'
quad_prod_with_data(object)
the quad_prod_with_data of the model
quad_prod_with_data,Cort-method
: Method for the class Cort
cop <- Cort(LifeCycleSavings[,1:3])
#> Splitting...
#>
#> 1 leaves to split...
#> 5 leaves to split...
#> 8 leaves to split...
#> 2 leaves to split...
#> 1 leaves to split...
#> 1 leaves to split...
#> Enforcing constraints...
#> Done !
quad_prod_with_data(cop)
#> [1] 15.13233