morley(datasets)
morley()所属R语言包:datasets
Michaelson-Morley Speed of Light Data
迈克尔逊 - 莫雷光数据的速度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The classical data of Michaelson and Morley on the speed of light. The data consists of five experiments, each consisting of 20 consecutive "runs". The response is the speed of light measurement, suitably coded.
迈克尔逊和莫雷的光速的经典数据。该数据由五个实验,每20个连续的“运行”。响应是光测量的速度,适当的编码。
用法----------Usage----------
格式----------Format----------
A data frame contains the following components:
一个数据框包含以下组件:
Expt The experiment number, from 1 to 5.
Expt实验的数量,从1到5。
Run The run number within each experiment.
Run在每个实验的运行数量。
Speed Speed-of-light measurement.
Speed测量光的速度。
Details
详情----------Details----------
The data is here viewed as a randomized block experiment with "experiment" and "run" as the factors. "run" may also be considered a quantitative variate to account for linear (or polynomial) changes in the measurement over the course of a single experiment.
这里视为一个“实验”和“运行”的因素随机区组试验数据。 运行也可能被认为是一个定量变量的线性(或多项式)在一个单一的实验过程中测量的变化。
源----------Source----------
A. J. Weekes (1986) A Genstat Primer. London: Edward Arnold.
A.·威克斯(1986)Genstat底漆。伦敦:爱德华·阿诺德。
举例----------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)[5×20平衡(双向)]
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)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|