Description Usage Arguments Examples
Creates information of a uniformly distributed numeric or date covariate with the specified lower and upper limits.
This function call must be added to the md.simparams
object.
1 | md.uniform(name, min = 0, max = 1)
|
name |
name of the covariate |
min, max |
lower and upper limits of the distribution. Must be finite (either numeric or date) |
1 2 3 4 5 6 7 | ## Not run:
library(missDeaths)
sim = md.simparams() +
md.uniform("X", 0, 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.