md.uniform {missDeaths} | R Documentation |
md.uniform
Description
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.
Usage
md.uniform(name, min = 0, max = 1)
Arguments
name |
name of the covariate |
min , max |
lower and upper limits of the distribution. Must be finite (either numeric or date) |
Examples
## Not run:
library(missDeaths)
sim = md.simparams() +
md.uniform("X", 0, 1)
## End(Not run)
[Package missDeaths version 2.7 Index]