md.uniform: md.uniform

View source: R/library.R

md.uniformR 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)


missDeaths documentation built on Oct. 7, 2024, 1:25 a.m.