md.uniform: md.uniform

Description Usage Arguments Examples

View source: R/library.R

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

1
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

1
2
3
4
5
6
7
## Not run: 
library(missDeaths)

sim = md.simparams() +
   md.uniform("X", 0, 1)

## End(Not run)

missDeaths documentation built on Oct. 23, 2020, 6:39 p.m.