md.data: md.data

View source: R/library.R

md.dataR 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)

missDeaths documentation built on Oct. 7, 2024, 1:25 a.m.