powered by
This function generates a dataset consisting of long linear data.
gen_longlinear(n = 500, p = 4)
A tibble containing the long linear data.
An integer value (default: 500) representing the sample size.
An integer value (default: 4) representing the number of dimensions.
set.seed(20240412) longlinear <- gen_longlinear(n = 500, p = 4)
Run the code above in your browser using DataLab