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

Description Usage Arguments Value Author(s) See Also

View source: R/predict.R

Description

Predict fitted values from a HCgglasso object

Usage

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

Arguments

object

HCgglasso object

newx

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

s

values of lambda. If NULL, use values from object

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)

original code from gglasso package Author: Yi Yang <yiyang@umn.edu>, Hui Zou <hzou@stat.umn.edu>

See Also

HCgglasso


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