Learn R Programming

mixAK (version 5.3)

SimData: Simulated dataset

Description

A simulated dataset used as an example dataset in Kom<U+00E1>rek and Kom<U+00E1>rkov<U+00E1> (2013+).

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<U+00E1>rek, A. and Kom<U+00E1>rkov<U+00E1>, L. (2013+). Capabilities of R package mixAK for clustering based on multivariate continuous and discrete longitudinal data. Submitted.

Examples

Run this code
# NOT RUN {
data(SimData)
summary(SimData)
# }

Run the code above in your browser using DataLab