InteractiondData: Generate Categorical Data Based on Interactions

View source: R/data.R

InteractiondDataR Documentation

Generate Categorical Data Based on Interactions

Description

Creates categorical X and Y variables based on the interaction of signs and sums of Z1 and Z2.

Usage

InteractiondData(N)

Arguments

N

Integer. Sample size.

Value

A data frame with columns Z1, Z2, X, and Y.


CCI documentation built on Aug. 29, 2025, 5:17 p.m.