找回密码
 注册
查看: 244|回复: 0

R语言 Sleuth2包 case1002()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:56:30 | 显示全部楼层 |阅读模式
case1002(Sleuth2)
case1002()所属R语言包:Sleuth2

                                        The Energy Costs of Echolocation by Bats
                                         蝙蝠的回声定位声波的能源成本

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The data are on in–flight energy expenditure and body mass from 20 energy studies on three types of flying vertebrates: echolocating bats, non–echolocating bats and non–echolocating birds.  
这些数据是从20个能源研究三种类型的飞行脊椎动物在飞行中的能量消耗和体重:回声定位蝙蝠,非回声定位蝙蝠和非回声定位的鸟类。


用法----------Usage----------


case1002



格式----------Format----------

A data frame with 20 observations on the following 4 variables.   
与20个观察值的以下4个变量的数据框。

Speciesspecies
Species种

Massmass (in grams)
Mass质量(单位:克)

Typea factor with 3 levels indicating the type of flying vertebrate  
Type3级指示飞行的脊椎动物的类型的一个因素

Energyin–flight energy expenditure (in W)   
Energy在飞行中的能量消耗(单位:W)


源----------Source----------

Ramsey, F.L. and Schafer, D.W. (2002). The Statistical Sleuth: A Course in Methods of Data Analysis (2nd ed), Duxbury.
拉姆齐,F.L.和Schafer,D.W. (2002年)。的统计的猎犬:A课程方法的数据分析(第二版),达克斯伯里。


参考文献----------References----------

Speakman, J.R. and Racey, P.A. (1991).  No cost of Echolocation for Bats in Flight, Nature 350: 421–423.

实例----------Examples----------


str(case1002)

plot(log(Energy)~log(Mass), case1002,
     pch = ifelse(Type=="echolocating bats", 19,
                  ifelse(Type=="non-echolocating birds", 21, 24)))

plot(Energy~Mass, case1002, log="xy",
     xlab = "Body Mass (g) (log scale)",
     ylab = "Energy Expenditure (W) (log scale)",
     pch = ifelse(Type=="echolocating bats", 19,
                  ifelse(Type=="non-echolocating birds", 21, 24)))
legend(7, 50, pch=c(24, 21, 19),
     c("Non-echolocating bats", "Non-echolocating birds","Echolocating bats"))

library(lattice)
yticks <- c(1,2,5,10,20,50)
xticks <- c(10,20,50,100,200,500)
xyplot(Energy ~ Mass, case1002, groups=Type,
       scales = list(log=TRUE, y=list(at=yticks), x=list(at=xticks)),
       ylab = "Energy Expenditure (W) (log scale)",
       xlab = "Body Mass (g) (log scale)",
       auto.key = list(x = 0.2, y = 0.9, corner = c(0, 1), border = TRUE))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-25 22:22 , Processed in 0.019582 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表