Learn R Programming

modmarg (version 0.9.6)

margex: Artificial data for margins

Description

A fictitious dataset outcome, treatment, and demographic variables for 3000 observations.

Usage

margex

Arguments

Format

A data frame with 3000 rows and 11 variables:

y

numeric

outcome

integer, 0 or 1

sex

character: "female" or "male"

group

integer

age

integer

distance

numeric

ycn

numeric

yc

numeric, 0 or 1

treatment

integer

agegroup

character: "20-29", "30-39", or "40+"

arm

integer