[R] understanding the parameters of 'spca' function of 'elasticnet' package

2014-07-19 Thread Adib Shafi
Hi all, i am trying to use the 'spca' function of 'elasticnet' package. But i am confused with the parameter 'para'. Basically the parameter 'para' depends on the parameter 'sparse'. If sparse="penalty", para is a vector of 1-norm penalty parameters. If sparse="varnum", para defines the number o

[R] understanding the parameters of 'spca' function of 'elasticnet' package

2014-07-18 Thread Adib Shafi
Hi all, i am trying to use the 'spca' function of 'elasticnet' package. But i am confused with the parameter 'para'. Basically the parameter 'para' depends on the parameter 'sparse'. If sparse="penalty", para is a vector of 1-norm penalty parameters. If sparse="varnum", para defines the number of