Description Usage Arguments Examples
Creates information of a Bernoulli distributed covariate with the specified probability.
This function call must be added to the md.simparams
object.
1 |
name |
name of the covariate |
prob |
probability of success (having a value of 1) |
1 2 3 4 5 6 7 | ## Not run:
library(missDeaths)
sim = md.simparams() +
md.binom("X", 0.25)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.