Description Slots Author(s) See Also Examples
The cvpp Class.
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
Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be
Ziv Shkedy
CVPcaPls
, SurvPcaClass
, SurvPlsClass
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.