print.plus {plus} | R Documentation |
Print plus steps when predictors are added or removed, beginning with a description of the method such as LASSO, MC+ or SCAD.
## S3 method for class 'plus': print(x, print.moves = 20, ...)
x |
a plus object |
print.moves |
the number of lines printed. Default is 20. |
... |
Additonal arguments for generic methods |
When a predictor is added or removed in the solution path, print one line providing the step number, the action, and the predicor involved.
NULL
Cun-Hui Zhang and Ofer Melnik
Zhang, C.-H. (2007). Penalized linear unbiased selection. Technical Report No. 2007-003. Department of Statistics, Rutgers University.
data(sp500) attach(sp500) x <- sp500.percent[,3: (dim(sp500.percent)[2])] y <- sp500.percent[,1] object <- plus(x,y,method="mc+") print(object, print.moves=30) detach(sp500)