SimData {mixAK}R Documentation

Simulated dataset

Description

A simulated dataset used as an example dataset in Komárek and Komárková (2014).

Usage

data(SimData)

Format

a data frame with 1 157 rows and the following variables

id

identification number of a subject.

tday

visit time in days.

tmonth

visit time in months.

yN

response variable generated according to a linear mixed model with normal errors. It intentionally contains 50 NA's.

yP

response variable generated according to a Poisson generalized linear mixed model. It intentionally contains 50 NA's.

yB

response variable generated according to a Bernoulli generalized linear mixed model. It intentionally contains 50 NA's.

yBjit

a jittered version of yB.

References

Komárek, A. and Komárková, L. (2014). Capabilities of R package mixAK for clustering based on multivariate continuous and discrete longitudinal data. Journal of Statistical Software, 59(12), 1–38. doi:10.18637/jss.v059.i12.

Examples

data(SimData)
summary(SimData)

[Package mixAK version 5.7 Index]