R: Synthetic dataset with multinomial response

MultinomialExample {glmnet} | R 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.

[Package glmnet version 4.1-2 Index]