Learn R Programming

npordtests (version 1.2)

chicks: Chicks' weight data

Description

This real data is reported by Chang and Yen (2011). Eighteen chicks were randomly assigned to three treatments with six chicks in each for balanced data.

Usage

data("chicks")

Arguments

Format

A data frame with 18 observations on the following 2 variables.

diet

Diets of different protein content

weight

Chicks' weight (in grams)

Details

Treatment 1 (Diet 1) had the diet with the lowest level of protein; treatment 2 (Diet 2) had the diet with a medium level of protein; and treatment 3 (Diet 3) had the diet with the highest level of protein. Does the average weight of chicks increase with the amount of protein? Hypothesis is being investigated.

Examples

Run this code
# NOT RUN {
library(npordtests)

data(chicks)
levels(chicks$diet) <- c("diet 1", "diet 2", "diet 3")
boxplot(weight~diet,data=chicks,xlab="Diet")
# }

Run the code above in your browser using DataLab