MultinomialExample: Synthetic dataset with multinomial response

MultinomialExampleR Documentation

Synthetic dataset with multinomial response

Description

Randomly generated data for multinomial regression example.

Usage

data(MultinomialExample)

Format

List containing the following elements:

x

500 by 30 matrix of numeric values.

y

Numeric vector of length 500 containing 142 ones, 174 twos and 184 threes.


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