cvpp-class function

The cvpp Class.

class

The cvpp Class.

Slots

  • Results: A dataframe containg the estimated Hazard ratio of the test dataset and the training dataset
  • Ncv: The number of cross validation performed
  • Method: The dimesion reduction method used
  • CVtrain: The training dataset indices matrix used for the cross validation
  • CVtest: The test dataset indices matrix used for the cross validation
  • Nmet: The number of metabolite used for the dimesion reduction method used

Examples

## GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORS Data<-MSData(nPatients=100,nMet=150,Prop=0.5) ## USING THE FUNCTION Result = CVPcaPls(Fold = 4, Survival = Data$Survival, Mdata = t(Data$Mdata), Censor = Data$Censor, Reduce=TRUE, Select=19, Prognostic= Data$Prognostic,Ncv=55,DR ="PLS") ## GET THE CLASS OF THE OBJECT class(Result) # A "cvpp" Class ## METHOD THAT CAN BE USED FOR THE RESULT show(Result) summary(Result) plot(Result)

See Also

CVPcaPls, SurvPcaClass, SurvPlsClass

Author(s)

Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be

Ziv Shkedy