sim {mecor}R Documentation

Simulated dataset for the ipwm function

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

sim

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

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

[Package mecor version 1.0.0 Index]