sim: Simulated dataset for the ipwm function

Description Usage Format Examples

Description

A simulated dataset containing 5000 observations of the covariates L1-L10, the true exposure A and true outcome Y, and the misclassified exposure B and misclassified outcome Z.

Usage

1

Format

A data frame with 5000 rows and 14 variables:

L1

covariate, binary

L2

covariate, continuous

L3

covariate, binary

L4

covariate, continuous

L5

covariate, binary

L6

covariate, binary

L7

covariate, continuous

L8

covariate, binary

L9

covariate, binary

L10

covariate, continuous

A

exposure, binary

Y

outcome, binary

B

misclassified exposure, binary

Z

misclassified outcome, binary

Examples

1
data("sim", package = "mecor")

LindaNab/mecor documentation built on Dec. 15, 2021, 6:59 p.m.