datacoldM {cold} | R Documentation |
This example is an artificial data with missing values.
data("datacoldM")
A data frame with 390 observations on the following 4 variables.
Subject
identifies de number of the individual profile.This vector contains observations of 30 individual profiles.
Treatment
a factor with levels 0
and 1
.
Time
a numeric vector that identifies the number of the time points observed.
z
a numeric vector representing the response variable.
data(datacoldM) str(datacoldM) mod0.M<- cold(z~Time*Treatment, data=datacoldM, time="Time", id="Subject", aggregate=Treatment, dependence="ind") summary (mod0.M) mod1.M<- cold(z~Time*Treatment, data=datacoldM, time="Time", id="Subject", aggregate=Treatment, dependence="AR1") summary (mod1.M) anova(mod0.M,mod1.M)