plot.selection: Plots to visualize the post-screening selection

Description Usage Arguments Value Examples

View source: R/plot.selection.R

Description

This function constructs a sparsity vs. selection criterion curve for a 'selection' object. When EBIC is used with voting, it also constructs a histogram showing the voting result.

Usage

1
2
## S3 method for class 'selection'
plot(x, ...)

Arguments

x

A 'selection' object as the output from smle_select().

...

Additional arguments to the plot() function.

Value

No return value.

Examples

1
2
3
4
5
set.seed(1)
Data <- Gen_Data(correlation = "MA", family = "gaussian")
fit <- SMLE(Data$Y, Data$X, k = 20, family = "gaussian")
fit_s <- smle_select(fit, vote = TRUE)
plot(fit_s)

SMLE documentation built on Oct. 1, 2021, 5:07 p.m.