Learn R Programming

MetabolicSurv (version 1.1.2)

perm-class: The perm Class.

Description

The perm Class.

Arguments

Slots

HRobs

Estimated HR for low risk group on the original data.

HRperm

Estimated HR for low risk group on the permuted data

nperm

Number of permutations carried out.

Validation

The validation scheme that was used.

See Also

DistHR, EstimateHR, SurvPcaClass, SurvPlsClass, Majorityvotes, Lasoelacox, EstimateHR, Lasoelacox

Examples

Run this code
# NOT RUN {
## GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORS
Data<-MSData(nPatients=100,nMet=150,Prop=0.5)

## USING THE FUNCTION
Example <- DistHR(Survival = Data$Survival,Mdata = t(Data$Mdata),
Censor = Data$Censor,Reduce=FALSE,Select=15,Prognostic=Data$Prognostic,
Quantile = 0.5, nperm=10, case=2, Validation=c("L1based"))

## GET THE CLASS OF THE OBJECT
class(Example)     # A "perm" Class

##  METHOD THAT CAN BE USED FOR THIS CLASS
show(Example)
summary(Example)
plot(Example)
# }

Run the code above in your browser using DataLab