ex_coarsening: Simulated example data with a coarsened factor covariate

ex_coarseningR Documentation

Simulated example data with a coarsened factor covariate

Description

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

Usage

ex_coarsening

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


smcfcs documentation built on April 4, 2025, 1:58 a.m.