gen_longlinear: Generate Long Linear Data

View source: R/linear.R

gen_longlinearR Documentation

Generate Long Linear Data

Description

This function generates a dataset consisting of long linear data.

Usage

gen_longlinear(n = 500, p = 4)

Arguments

n

A numeric value (default: 500) representing the sample size.

p

A numeric value (default: 4) representing the number of dimensions.

Value

A data containing the long linear data.

Examples

set.seed(20240412)
longlinear <- gen_longlinear(n = 500, p = 4)

cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.