mockdata {HMTL} | R Documentation |
Mock Gene Data
Description
This data set is a mock version of two related research outcomes.
Usage
data("mockdata1")
data("mockdata2")
Format
The mockdata1
contains all predictor variables for four data sets, and the mockdata2
is the list of four columns of response variables. The sample sizes are n_1 = 500, n_2 = 250, n_3 = 250
, and n_4 = 250
.
The response varibles are heterogeneous, such that the first two columns are continuous data and last two are binary data. The predictors of each data matrix in mockdata1
have 500 columns of variables, and the columns in different data matrices are matched. For example, the first column in the first data matrix represents the same type of feature as the first columns in other three data matrices. Among all canadidate predictors, the response variables are set to be associated with the first 22 columns, and the remaining columns are not important predictors.
Details
This data set is used as an example to implement functions in the package.