Randomly generated data for Gaussian regression example with the design matrix x being in sparse matrix format.

data(SparseExample)

Format

List containing the following elements:

x

100 by 20 matrix of numeric values. x is in sparse matrix format, having class "dgCMatrix".

y

Numeric vector of length 100.

OSZAR »