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

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

[复制链接]
发表于 2012-10-1 17:13:10 | 显示全部楼层 |阅读模式
BabySS(wavethresh)
BabySS()所属R语言包:wavethresh

                                        Physiological data time series.
                                         生理数据的时间序列。

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

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

Two linked medical time series containing 2048 observations sampled every 16 seconds recorded from 21:17:59 to 06:27:18. Both these time series were recorded from the same 66 day old infant by Prof. Peter Fleming, Dr Andrew Sawczenko and Jeanine Young of the Institute of Child Health, Royal Hospital for Sick Children, Bristol. BabyECG, is a record of the infant's heart rate (in beats per minute). BabySS is a record of the infant's sleep state on a scale of 1 to 4 as determined by a trained expert monitoring EEG (brain) and EOG (eye-movement). The sleep state codes are 1=quiet sleep, 2=between quiet and active sleep, 3=active sleep, 4=awake.
两个相连的医学时间序列包含2048的观测采样,每隔16秒记录从21:17:59到六时27分十八秒。这两个系列均录得来自同一个66天的婴儿,由彼得·弗莱明教授安德鲁博士Sawczenko和Jeanine年轻的儿童健康研究所,为患病儿童,布里斯托尔皇家医院。 BabyECG,是婴儿的心脏速率(每分钟节拍数)的记录。 BabySS是婴儿的睡眠状态的记录所确定的规模为1到4由受过训练的专家监测脑电图(脑)和EOG(眼动)。睡眠状态码1 =安静的睡着,2 =间安静的和积极的睡眠,3 =激活睡眠,4 =清醒。


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

The BabyECG time series is a nice examples of a non-stationary time series whose spectral (time-scale) properties vary over time. The function ewspec can be used to anaylse this time series to inspect the variation in the power of the series over time and scales.
BabyECG的光谱(时间尺度)性能随时间而变化的非平稳时间序列,时间序列是一个很好的例子。函数ewspec可以使用,到anaylse这种时间序列检查的力量随着时间的推移和规模的一系列变化。

The BabySS time series is a useful independent time series that can be associated with changing power in the BabyECG series. See the discussion in Nason, von Sachs and Kroisandt.
BabySS时间序列是一个有用的独立的时间序列,可以与不断变化的权力BabyECG系列。利晨,冯高盛和Kroisandt的讨论。


RELEASE----------RELEASE----------


另请参见----------SEE ALSO----------

ewspec
ewspec


(作者)----------Author(s)----------


G P Nason



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

Institute of Child Health, Royal Hospital for Sick Children, Bristol.
儿童健康研究所,布里斯托尔皇家医院为患病儿童。


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

Nason, G.P., von Sachs, R. and Kroisandt, G. (1998). Wavelet processes and adaptive estimation of the evolutionary wavelet spectrum. Technical Report, Department of Mathematics University of Bristol/ Fachbereich Mathematik, Kaiserslautern.

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


data(BabyECG)
data(BabySS)
#[]

# Plot the BabyECG data with BabySS overlaid[绘制的BabyECG的数据与BabySS重叠]

#[]

# Note the following code does some clever scaling to get the two[请注意下面的代码做一些聪明的比例拿到两]

# time series overlaid.[时间序列重叠。]

#[]

myhrs <- c(22, 23, 24, 25, 26, 27, 28, 29, 30)

mylab <- c("22", "23", "00", "01", "02", "03", "04", "05", "06")

initsecs <- 59 + 60 * (17 + 60 * 21)

mysecs <- (myhrs * 3600)

secsat <- (mysecs - initsecs)/16

mxy <- max(BabyECG)

mny <- min(BabyECG)

ro <- range(BabySS)

no <- ((mxy - mny) * (BabySS - ro[1]))/(ro[2] - ro[1]) + mny

rc <- 0:4

nc <- ((mxy - mny) * (rc - ro[1]))/(ro[2] - ro[1]) + mny

## Not run: plot(1:length(BabyECG), BabyECG, xaxt = "n", type = "l", xlab = [#未运行图(1:的长度(BabyECG),BabyECG,xaxt =“N”,类型为“L”,xlab]
        "Time (hours)", ylab = "Heart rate (beats per minute)")
## End(Not run)[#(不执行)]

## Not run: lines(1:length(BabyECG), no, lty = 3)[#不运行线(1的长度(BabyECG),无LTY = 3)]

## Not run: axis(1, at = secsat, labels = mylab)[#不运行:轴(1,在= secsat,标签= mylab)]

## Not run: axis(4, at = nc, labels = as.character(rc))[#不运行:轴(4 = NC,标签as.character(RC))]

#[]

# Sleep state is the right hand axis[睡眠状态是右手轴]

#[]
#[]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 19:28 , Processed in 0.019990 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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