Learn R Programming

smcfcs (version 1.7.1)

ex_lininter: Simulated example data with continuous outcome and interaction between two partially observed covariates

Description

A dataset containing simulated data where the outcome depends on both main effects and interaction of two partially observed covariates.

Usage

ex_lininter

Arguments

Format

A data frame with 1000 rows and 4 variables:

y

Continuous outcome

x1

Partially observed normally distributed covariate

x2

Partially observed binary covariate