| draw.modSim | R Documentation |
Draw Heatmap of modSim object
draw.modSim(x, k, ind = NULL, ...)
x |
modSim object |
k |
number of split for heatmap's columns |
ind |
number of columns to keep |
... |
supplementary parameters |
draw x
library(survMS)
res_paramW = get_param_weib(med = 2.5, mu = 1.2)
listCoxSimCor_n500_p1000 <- modelSim(model = "cox", matDistr = "mvnorm",
matParam = c(0,0.6), n = 500,
p = 1000, pnonull = 20, betaDistr = 1,
hazDistr = "weibull",
hazParams = c(res_paramW$a, res_paramW$lambda),
seed = 1, d = 0)
print(listCoxSimCor_n500_p1000)
hist(listCoxSimCor_n500_p1000)
#draw(listCoxSimCor_n500_p1000, k = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.