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

An integer value (default: 500) representing the sample size.

p

An integer value (default: 4) representing the number of dimensions.

Value

A tibble containing the long linear data.

Examples

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

cardinalR documentation built on Dec. 18, 2025, 9:08 a.m.