createData: createData

Description Usage Arguments Value

Description

creates simulated data to test our solvers on

Usage

1
createData(n, sigma_error, example = c(1, 2, 3, 4, 5))

Arguments

n

number of observations

sigma_error

noisiness of the Data Generating Process

example

the numeric id of the simulation setting to be used (see report)

Value

a list containing X, y and betas


vviers/DIYLassoElasticNet documentation built on May 30, 2019, 12:49 p.m.