example: An simulated example dataset

exampleR Documentation

An simulated example dataset

Description

The simulated example data contains 100 observations, 200 predictors, and an continuous outcome. Z contains 3 columns, each column is indicator variable (can be viewed as the grouping of predictors).

Usage

data(example)

Format

The example object is a list containing three elements:

  • X: A simulated 100 by 200 matrix

  • Y: Continuous response vector of length 100

  • Z: A 200 by 3 matrix. Z_jk indicates whether predictor X_j has external variable Z_k or not.

Examples

data(example)
X <- example$X
Y <- example$Y
Z <- example$Z
xtune(X,Y,Z)

xtune documentation built on July 9, 2023, 5:22 p.m.