Rev 46127 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/datasets/man/morley.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2007 R Core Development Team% Distributed under GPL 2 or later\name{morley}\docType{data}\alias{morley}\title{Michaelson-Morley Speed of Light Data}\description{The classical data of Michaelson and Morley on the speed of light.The data consists of five experiments, each consisting of 20consecutive \sQuote{runs}. The response is the speed of lightmeasurement, suitably coded.}\usage{morley}\format{A data frame contains the following components:\describe{\item{\code{Expt}}{The experiment number, from 1 to 5.}\item{\code{Run}}{The run number within each experiment.}\item{\code{Speed}}{Speed-of-light measurement.}}}\details{The data is here viewed as a randomized block experiment with\sQuote{experiment} and \sQuote{run} as the factors. \sQuote{run} mayalso be considered a quantitative variate to account for linear (orpolynomial) changes in the measurement over the course of a singleexperiment.}\source{A. J. Weekes (1986)\emph{A Genstat Primer}.London: Edward Arnold.}\examples{require(stats); require(graphics)morley$Expt <- factor(morley$Expt)morley$Run <- factor(morley$Run)xtabs(~ Expt + Run, data = morley)# 5 x 20 balanced (two-way)plot(Speed ~ Expt, data = morley,main = "Speed of Light Data", xlab = "Experiment No.")fm <- aov(Speed ~ Run + Expt, data = morley)summary(fm)fm0 <- update(fm, . ~ . - Run)anova(fm0, fm)}\keyword{datasets}