Learn R Programming

plsmselect (version 0.2.0)

simData: Simulated dataset to be used for gamlasso

Description

The package includes a simulated dataset that we will use for the examples.

Usage

data(simData)

Arguments

Format

A 100-by-23 data frame. There are 10 variables (x1,...,x10) corresponding to the linear predictors and 4 (z1,...,z4) corresponding to the smooth predictors. There are 7 response variables corresponding to the different models fitted -

  • Yg for the Gaussian response

  • Yb as Bernoulli and success and failure as Binomial count responses

  • Yp as the Poisson response

  • time and status as the survival model responses

The variables starting with X are the same as the linear predictors but are concatenated into a matrix X to be used for the formula implementation of gamlasso

Details

The code for creating this simulated dataset is included in the vignette of this package.

Examples

Run this code
# NOT RUN {
## Please see examples in ?gamlasso
# }

Run the code above in your browser using DataLab