cvmm function

Constructor for the cvmm class

Constructor for the cvmm class

cvmm(HRTrain, HRTest, train, test, n.mets, Ncv, Rdata)

Arguments

  • HRTrain: A 3-way array, The first dimension is the number of metabolites, the second dimension is the HR statistics for the low risk group in the train dataset (HR,1/HR LCI, UCI) while the third dimension is the number of cross validation performed.
  • HRTest: A 3-way array, The first dimension is the number of metabolites, the second dimension is the HR statistics for the low risk group in the test dataset (HR,1/HR LCI, UCI) while the third dimension is the number of cross validation performed.
  • train: The selected subjects for each CV in the train dataset
  • test: The selected subjects for each CV in the test dataset
  • n.mets: The number of metabolite used in the analysis
  • Ncv: The number of cross validation performed
  • Rdata: The Metabolite data matrix that was used for the analysis either same as Mdata or a reduced version

Returns

object of class cvmm