Learn R Programming

BSDA (version 1.01)

Corn: Comparison of the yields of a new variety and a standard variety of corn planted on 12 plots of land

Description

Data for Exercise 7.77

Usage

Corn

Arguments

Format

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

New

a numeric vector

Standard

a numeric vector

differ

a numeric vector

Examples

Run this code
# NOT RUN {
str(Corn)
attach(Corn)
boxplot(differ)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(New,Standard,paired=TRUE,alternative="greater")
detach(Corn)
# }

Run the code above in your browser using DataLab