if (FALSE) {
# Note: In the following example, M1, M2, and M3 are true mediators.
data(himaDat)
head(himaDat$Example3$PhenoData)
survHIMA.fit <- survHIMA(X = himaDat$Example3$PhenoData$Treatment,
M = himaDat$Example3$Mediator,
COV = himaDat$Example3$PhenoData[, c("Sex", "Age")],
OT = himaDat$Example3$PhenoData$Time,
status = himaDat$Example3$PhenoData$Status,
FDRcut = 0.05,
scale = FALSE, # Disabled only for simulation data
verbose = TRUE)
survHIMA.fit
}
Run the code above in your browser using DataLab