PoissonExample: Synthetic dataset with count response

PoissonExampleR Documentation

Synthetic dataset with count response

Description

Randomly generated data for Poisson regression example.

Usage

data(PoissonExample)

Format

List containing the following elements:

x

500 by 20 matrix of numeric values.

y

Numeric vector of length 500 consisting of non-negative integers.


glmnet documentation built on Oct. 28, 2026, 5:09 p.m.