Constructor for the cvsim class
cvsim(HRpca, HRpls, Nmets, Ncv, Top)
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.
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.
The number of metabolites in the reduced matrix
The number of cross validation done
A sequence of top k metabolites considered. Default is Top=seq(5,100,by=5)
object of class cvsim