cvpp-class: The cvpp Class.

Description Slots Author(s) See Also Examples

Description

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

Author(s)

Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be

Ziv Shkedy

See Also

CVPcaPls, SurvPcaClass, SurvPlsClass

Examples

 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)

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