cvsim {MetabolicSurv} | R Documentation |
Constructor for the cvsim class
Description
Constructor for the cvsim class
Usage
cvsim(HRpca, HRpls, Nmets, Ncv, Top)
Arguments
HRpca |
A 3-way array in which first, second, and third dimensions correspond to number of metabolites, Hazard ratio infromation(Estimated HR, LowerCI and UpperCI), and number of cross validation respectively. This contains the estimated HR on test data and dimension reduction method is PCA. |
HRpls |
A 3-way array in which first, second, and third dimensions correspond to number of metabolites, Hazard ratio infromation(Estimated HR, LowerCI and UpperCI), and number of cross validation respectively. This contains the estimated HR on test data and dimension reduction method is PLS. |
Nmets |
The number of metabolites in the reduced matrix |
Ncv |
The number of cross validation done |
Top |
A sequence of top k metabolites considered. Default is Top=seq(5,100,by=5) |
Value
object of class cvsim