forbes(SMPracticals)
forbes()所属R语言包:SMPracticals
Atmospheric Pressure and Boiling Point in the Alps
在阿尔卑斯山的常压沸点
译者:生物统计家园网 机器人LoveR
描述----------Description----------
James Forbes measured the atmospheric pressure and boiling point of water at 17 locations in the Alps.
詹姆斯·福布斯测量大气压力,水的沸点在17个地点在阿尔卑斯山。
用法----------Usage----------
data(forbes)
格式----------Format----------
A data frame with 17 observations on the following 2 variables.
17个观察以下2个变量的数据框。
bp Boiling point (Fahrenheit)
BP沸点(华氏)
pres Pressure (inches of mercury)
压力压力(英寸汞柱)
源----------Source----------
Atkinson, A. C. (1985) Plots, Transformations, and Regression. Oxford University Press.
阿特金森,AC(1985年)图,转换和回归。牛津大学出版社。
实例----------Examples----------
data(forbes)
plot(forbes)
fit <- lm(bp~pres,data=forbes)
fit
plot(forbes$pres,resid(fit)) # model OK?[模型OK?]
# try refitting with transformation[整修与改造]
fit <- lm(log(bp)~log(pres),data=forbes)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|