datacoldM {cold} | R Documentation |
Data with missing values
Description
This example is an artificial data with missing values.
Usage
data("datacoldM")
Format
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
and1
.Time
a numeric vector that identifies the number of the time points observed.
z
a numeric vector representing the response variable.
Examples
data(datacoldM)
str(datacoldM)
mod0.M<- cold(z~Time*Treatment, data=datacoldM, time="Time",
id="Subject", dependence="ind")
summary (mod0.M)
mod1.M<- cold(z~Time*Treatment, data=datacoldM, time="Time",
id="Subject", dependence="AR1")
summary (mod1.M)
anova(mod0.M,mod1.M)
[Package cold version 2.0-3 Index]