oscar.bs.boxplot {oscar} | R Documentation |
Bootstrap visualization with boxplot, percentage of new additions
Description
This function plots as barplots as a function of k-cardinality in what proporties certain coefficients were chosen as non-zero over the bootstrap runs.
Usage
oscar.bs.boxplot(bs, ...)
Arguments
bs |
Bootstrapped 3-dimensional array for an oscar object as produced by oscar.bs |
... |
Additional parameters passed on to barplot |
Value
This is a plotting function that does not return anything, but instead draws on a new graphics device.
Examples
if(interactive()){
data(ex)
fit <- oscar(x=ex_X, y=ex_Y, k=ex_K, w=ex_c, family='cox')
fit_bs <- oscar.bs(fit, bootstrap = 20, seed = 123)
oscar.bs.boxplot(fit_bs)
}
[Package oscar version 1.2.1 Index]