plot.stability.HCgglasso: Plot the stability path obtained from 'stability.HCgglasso'...

Description Usage Arguments Value See Also Examples

View source: R/utilities.R

Description

Plot the stability path obtained from stability.HCgglasso function

Usage

1
2
3
## S3 method for class 'stability.HCgglasso'
plot(x, log.lambda = FALSE, threshold = 0.75,
  ...)

Arguments

x

stability.HCgglasso object

log.lambda

If TRUE, use log(lambda) instead of lambda in abscissa

threshold

Threshold for selection frequency

...

Other parameters for plot function

Value

A list containing :

var

Index of selected variables for the given threshold.

group

Index of the associated group.

threshold

Value of threshold

See Also

stability.HCgglasso

Examples

1
2
3
4
5
6
7
8
## Not run: 
X=simuBlockGaussian(50,12,5,0.7)
y=drop(X[,c(2,7,12)]%*%c(2,2,-2)+rnorm(50,0,0.5))
res=stability.HCgglasso(X,y)
selected=plot(res)
print(selected)

## End(Not run)

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