gen_data: Generates a single simulated data set merging all the MC data...

Description Usage Arguments

View source: R/main_file.R

Description

Generates a single simulated data set merging all the MC data together

Usage

1
gen_data(para, X, y, datagen, R = 500)

Arguments

para

Parameter vector.

X

Model matrix.

y

Observed response.

datagen

Function that generates a single dataset. It must have two arguments, the parameter value para and the model matrix X.

R

Size of Monte Carlo simulation. Default is 500.


rugbel/BRTemplate documentation built on Nov. 12, 2019, 7:41 a.m.