Learn R Programming

abd (version 0.1-22)

IntertidalAlgae: Intertidal Algae

Description

Area coverage of red algae (Mazzaella parksii) in two herbivore treatments (herbivores) at two tide levels (height).

Usage

data(IntertidalAlgae)

Arguments

source

Harley, C.D.G. 2003. Individualistic vertical responses of interacting species determine range limits across a horizontal gradient. Ecology 84: 1477-1488.

Examples

Run this code
data(IntertidalAlgae)
str(IntertidalAlgae)

# Using * includes the main effects and the interaction
aov.fit <- aov(sqrt.area ~ herbivores * height, data = IntertidalAlgae)
summary(aov.fit)
lm.fit <- lm(sqrt.area ~ herbivores * height, data = IntertidalAlgae)
anova(lm.fit)

Run the code above in your browser using DataLab