Skip to contents

A simulated data containing multiple individuals with two categorical response variables.

Usage

categorical_example

Format

A data frame with 2000 rows and 5 variables:

id

Variable defining individuals (1 to 100).

time

Variable defining the time point of the measurement (1 to 20).

x

Categorical variable with three levels, A, B, and C.

y

Categorical variable with three levels, a, b, and c.

z

A continuous covariate.

Source

The data was generated according to a script in https://github.com/ropensci/dynamite/blob/main/data-raw/categorical_example.R