Learn R Programming

smcfcs (version 2.0.0)

ex_coarsening: Simulated example data with a coarsened factor covariate

Description

A simulated dataset with a factor level covariate subject to coarsening.

Usage

ex_coarsening

Arguments

Format

A data frame with 100 rows and 4 variables:

x

Factor variable with 3 levels (a,b,c) and some missing values

xobs

Variable which contains coarsening information for x

z

Fully observed continuous covariate

y

Fully observed continuous outcome