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 FACTORSData<-MSData(nPatients=100,nMet=150,Prop=0.5)## USING THE FUNCTIONResult = 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 OBJECTclass(Result)# A "cvpp" Class## METHOD THAT CAN BE USED FOR THE RESULTshow(Result)summary(Result)plot(Result)