f_sim | R Documentation |
Simulation of a trial with a composite endpoint
f_sim(samplesize, p_e1, p_e2, p_ce)
samplesize |
sample size per arm |
p_e1 |
numeric parameter, probability of the event E1 |
p_e2 |
numeric parameter, probability of the event E2 |
p_ce |
probability of the composite endpoint |
simulated data
data=f_sim(samplesize=100,p_e1=0.1,p_e2=0.5,p_ce=0.6)
head(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.