md.data {missDeaths}R Documentation

md.data

Description

Creates information of covariates that are copies of covariates from an existing data set. This function call must be added to the md.simparams object.

Usage

md.data(data, randomsample = FALSE)

Arguments

data

data.frame

randomsample

controls whether the rows of the dataset are randomly sampled (with replaceent) or simply copied

Examples


## Not run: 
library(missDeaths)

sim = md.simparams() +
   md.data(data) 

## End(Not run)

[Package missDeaths version 2.7 Index]