missDeaths (version 2.7)

md.norm: 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

Run this code
# NOT RUN {
# }
# NOT RUN {
library(missDeaths)

sim = md.simparams() +
   md.norm("X", 0, 1) 
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace