QuadThresh: Generate Quadratic Threshold Data

View source: R/data.R

QuadThreshR Documentation

Generate Quadratic Threshold Data

Description

Generates data with a quadratic threshold effect based on Z1 and Z2.

Usage

QuadThresh(N)

Arguments

N

Integer. Sample size.

Value

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

Examples

head(QuadThresh(100))

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