BinomialExample: Synthetic dataset with binary response

BinomialExampleR Documentation

Synthetic dataset with binary response

Description

Randomly generated data for binomial regression example.

Usage

data(BinomialExample)

Format

List containing the following elements:

x

100 by 30 matrix of numeric values.

y

Numeric vector of length 100 containing 44 zeros and 56 ones.


glmnet documentation built on Aug. 22, 2023, 9:12 a.m.