NonLinearData: Generate Nonlinear Categorical Data (Bivariate)

View source: R/data.R

NonLinearDataR Documentation

Generate Nonlinear Categorical Data (Bivariate)

Description

Creates categorical X and Y variables based on sinusoidal and cosine functions of Z1 and Z2.

Usage

NonLinearData(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.