md.norm: md.norm

Description Usage Arguments Examples

View source: R/library.R

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

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

Arguments

name

name of the covariate

mean, sd

mean and standard deviation

Examples

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

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

## End(Not run)

missDeaths documentation built on May 29, 2017, 10:47 a.m.