predict_glasso: Predict method for grplasso objects

Description Usage Arguments

Description

Obtains predictions from a grplasso object.

Usage

1
2
predict_glasso(object, newdata, type = c("link", "response"),
  na.action = na.pass, ...)

Arguments

object

a grplasso object

newdata

data.frame or design matrix of new observations

type

the type of prediction. type = "link" is on the scale of linear predictors, whereas type = "response" is on the scale of the response variable, i.e. type = "response" applies the inverse link function to the linear predictors. na.action function determining what should be done with missing values in newdata. The default is to predict NA.

...

other options to be passed to the predict function.


happyrabbit/DataScienceR documentation built on May 17, 2019, 2:41 p.m.