data_generate: Generate simulate data.

Description Usage Arguments

View source: R/data_generate.R

Description

Generate simulate data.

Usage

1
data_generate(fun.list, n, p, B.true, snr, cor = 0)

Arguments

fun.list

A list of linear and nonlinear function for link function.

n

The number of sample in the generated data.

p

The number of predictors in the generated data.

B.true

The groundtruth of the coefficient matrix B.

snr

The Signal Noise Ratio of data generation.

cor

The corvariance of the generate data. Default value is 0.


echi/mSIM documentation built on Oct. 6, 2020, 11:09 a.m.