cvsim: Constructor for the cvsim class

Description Usage Arguments Value

View source: R/MetabolicSurvClass.R

Description

Constructor for the cvsim class

Usage

1
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


MetabolicSurv documentation built on June 11, 2021, 9:06 a.m.