md.data: md.data

Description Usage Arguments Examples

View source: R/library.R

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

1
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

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

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

## End(Not run)

missDeaths documentation built on Oct. 23, 2020, 6:39 p.m.