Learn R Programming

BSDA (version 1.01)

Chicken: Weight gain of chickens fed three different rations

Description

Data for Exercise 10.15

Usage

data(Chicken)

Arguments

Format

A data frame with 13 observations on the following 3 variables.

Ration1

a numeric vector

Ration2

a numeric vector

Ration3

a numeric vector

Examples

Run this code
# NOT RUN {
str(Chicken)
attach(Chicken)
STACKED <-stack(Chicken)
STACKED[1:5,]
boxplot(values~ind,col=c("red","blue","green"),data=STACKED)
anova(lm(values~ind,data=STACKED))
remove(STACKED)
detach(Chicken)
# }

Run the code above in your browser using DataLab