R/functions.R

coef.joinet.Rd

Extracts pooled coefficients. (The meta learners linearly combines the coefficients from the base learners.)

# S3 method for joinet coef(object, ...)

joinet object

further arguments (not applicable)

n <- 30; q <- 2; p <- 20 Y <- matrix(rnorm(n*q),nrow=n,ncol=q) X <- matrix(rnorm(n*p),nrow=n,ncol=p) object <- joinet(Y=Y,X=X) coef <- coef(object)