Learn R Programming

CorReg (version 0.14.2)

Y_generator: Response variable generator with a linear model

Description

Response variable generator with a linear model

Usage

Y_generator(X = X, Amax = NULL, sigma_Y = 10, positive = 0.6)

Arguments

X
the dataset
Amax
maximum number of non-zero coefficients
sigma_Y
the standard deviation of the noise
positive
the ratio of positive coefficients