simData {plsmselect} | R Documentation |
Simulated dataset to be used for gamlasso
Description
The package includes a simulated dataset that we will use for the examples.
Usage
data(simData)
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 andsuccess
andfailure
as Binomial count responses -
Yp
as the Poisson response -
time
andstatus
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
## Please see examples in ?gamlasso
[Package plsmselect version 0.2.0 Index]