| 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.
Subjectidentifies de number of the individual profile.This vector contains observations of 30 individual profiles.
Treatmenta factor with levels
0and1.Timea numeric vector that identifies the number of the time points observed.
za 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]