Learn R Programming

mixAK (version 5.4)

SimData: Simulated dataset

Description

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

Usage

data(SimData)

Arguments

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.

%\item{group}{a \code{factor} with three levels (1/2/3) giving the % true group into which the subject belongs.} %\item{b1}{the true value of a random intercept in a model for \code{yN}.} %\item{b2}{the true value of a random slope in a model for \code{yN}.} %\item{b3}{the true value of a random intercept in a model for \code{yP}.} %\item{b4}{the true value of a random slope in a model for \code{yP}.} %\item{b5}{the true value of a random intercept in a model for \code{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. tools:::Rd_expr_doi("10.18637/jss.v059.i12").

Examples

Run this code
data(SimData)
summary(SimData)

Run the code above in your browser using DataLab