md.norm {missDeaths}R Documentation

md.norm

Description

Creates information of a normally distributed numeric covariate with the specified mean and standard deviation. This function call must be added to the md.simparams object.

Usage

md.norm(name, mean = 0, sd = 1)

Arguments

name

name of the covariate

mean, sd

mean and standard deviation

Examples


## Not run: 
library(missDeaths)

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

## End(Not run)


[Package missDeaths version 2.7 Index]