predict.cv.HCgglasso: Predict fitted values from a 'cv.HCgglasso' object

Description Usage Arguments Value Author(s) See Also

View source: R/predict.R

Description

Predict fitted values from a cv.HCgglasso object

Usage

1
2
3
## S3 method for class 'cv.HCgglasso'
predict(object, newx = NULL, s = c("lambda.1se",
  "lambda.min"), type = c("fit", "coefficients"), ...)

Arguments

object

cv.HCgglasso object

newx

matrix with new individuals for prediction. If type="coefficients", the parameter has to be NULL

s

Either "lambda.1se" or "lambda.min"

type

if "fit", return the fitted values for each values of s, if "coefficients", return the estimated coefficients for each s

...

Not used. Other arguments to predict.

Value

A matrix with fitted values or estimated coefficients for given values of s.

Author(s)

Quentin Grimonprez

See Also

cv.HCgglasso


HCgglasso documentation built on May 2, 2019, 4:54 p.m.