Learn R Programming

ACSWR (version 1.0)

rootstock: Apple of Different Rootstock

Description

The goal is to test if the mean vector of the four variables is same across 6 stratas of the experiment.

Usage

data(rootstock)

Arguments

Format

A data frame with 48 observations on the following 5 variables.
rootstock
Six different rootstocks
y1
trunk girth at 4 years
y2
extension growth at 4 years
y3
trunk girth at 15 years
y4
weight of tree above ground at 15 years

References

Rencher, A.C. (2002). Methods of Multivariate Analysis, 2e. J. Wiley.

Examples

Run this code
data(rootstock)
attach(rootstock)
rs <- rootstock[,1]
rs <- factor(rs,ordered=is.ordered(rs)) # Too important a step
root.manova <- manova(cbind(y1,y2,y3,y4)~rs)
summary(root.manova, test = "Wilks")

Run the code above in your browser using DataLab