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

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

[复制链接]
发表于 2012-9-29 23:09:02 | 显示全部楼层 |阅读模式
haldane(scuba)
haldane()所属R语言包:scuba

                                        Tissue Saturation by Haldane Model
                                         组织中饱和度Haldane模型

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

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

Computes a diver's tissue saturation  during and after a dive, as predicted by a Haldane model.
计算潜水者的组织饱和,期间和之后,潜水,Haldane模型的预测。


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


  haldane(d,
         model=pickmodel("DSAT"),
         prevstate=NULL,
         progressive=FALSE,
         relative=FALSE,
         deco=FALSE)



参数----------Arguments----------

参数:d
The dive profile. An object of class dive.   
潜水资料。对象的类dive。


参数:model
The decompression model. An object of class "hm". Defaults to the DSAT (PADI) model.  
减压模式。对象的类"hm"。默认DSAT(PADI)模型。


参数:prevstate
Optional. Initial state of the diver. A data frame containing the tissue saturations  for each tissue compartment in the model, at the start of the dive. Defaults to the state of a diver with no previous dive history.  
可选。潜水员的初始状态。一个数据框包含的组织氧饱和度舱模型中的每一个组织,在开始潜水。默认的状态没有以前的潜水潜水员历史。


参数:progressive
Logical flag. If TRUE, the tissue saturations are computed at every time point during the dive. If FALSE (the default), only the final tissue saturation at the end of the dive is computed.  
逻辑标志。如果TRUE,组织血氧饱和度,计算各时间点在潜水过程中。如果FALSE(默认值),只有在潜水结束,最终组织饱和计算。


参数:relative
Logical flag indicating whether to compute relative tissue saturations. If FALSE (the default), tissue saturations are expressed as absolute pressures in atmospheres absolute (ata). If TRUE, the tissue saturation for each compartment is expressed as a fraction of the surfacing M-value for the compartment. (Alternatively if deco=TRUE then tissue saturation is expressed as a fraction of the M-value at current depth.)  
逻辑标志,指示是否计算组织相对饱和度。如果FALSE(默认值),组织血氧饱和度表示绝对大气压(ATA)的绝对压力。如果TRUE,每个隔室的组织的饱和度被表示为一小部分的堆焊M值隔间。 (或者,如果deco=TRUE然后组织中饱和度被表示为在当前深度的M-值的一小部分。)


参数:deco
Logical flag indicating whether to calculate relative saturations for a decompression dive. If deco=FALSE, then relative tissue saturations are computed by dividing the absolute tissue saturation by the surfacing M-value, as appropriate for a no-decompression dive. If deco=TRUE, then relative tissue saturations are computed by dividing the absolute tissue saturation by the M-value at the current depth, as appropriate for a decompression dive. This argument applies only when relative=TRUE.  
逻辑标志,指示是否计算相对饱和度为减压潜水。如果deco=FALSE,然后组织相对饱和度的计算方法是将堆焊M值,适合不减压潜水的的绝对组织的饱和度。如果deco=TRUE,然后组织相对饱和度计算,除以绝对的组织中饱和度的M值在目前的深度,适当的减压潜水。此参数只适用于relative=TRUE。


Details

详细信息----------Details----------

This command computes a diver's nitrogen saturation  during and after a dive, as predicted by a Haldane model (Boycott et al, 1908).
该命令计算潜水员的氮饱和,期间和之后,跳水,由Haldane模型的预测“(抵制等人,1908)。

A Haldane-type decompression model describes the diver's body as a set of independent compartments connected directly to the breathing gas and governed by classical diffusion.
一个霍尔丹型的的减压模型描述潜水员的身体作为一组独立的舱室直接连接到呼吸气体和受古典扩散。

Henry's Law is applied  to predict the on- and off-gassing of inert gas in each tissue (compartment) of the model. The resulting differential equations are solved analytically (the solution is often called the "Schreiner equation" in the decompression literature).
亨利定律被施加在每个组织上和关闭放气的惰性气体(隔室)的模型来预测。将所得的差分方程求解(该溶液是通常被称为“的Schreiner方程在减压文献)。

The argument prevstate represents the tissue saturation of the diver at the start of the dive. It should be a data frame, with one row for each compartment of the decompression model, and one column for each inert gas (N2 and/or He) in the model. Such data frames are usually generated by saturated.state or haldane.
参数prevstate组织开始潜水的潜水员在饱和度。它应该是一个数据框,带有一个行的每个隔室的减压模型,和一列的每个惰性气体(N2和/或He)在模型中。这样的数据框通常是由saturated.state或haldane。

If progressive=FALSE, the diver's tissue saturation at the end of the dive is calculated.
如果progressive=FALSE,潜水员的潜水结束,在组织中饱和度计算。

If progressive=TRUE, the tissue saturations are calculated at each  waypoint during the dive. The corresponding times (extracted by times.dive(d)) are not equally spaced over time.
如果progressive=TRUE,在潜水过程中,组织血氧饱和度计算在每个导航点。相应的时间(摘录times.dive(d)),不等距随着时间的推移。

To compute the tissue saturation at an arbitrary instant of time during the dive, tim, use haldane(chop.dive(d, 0, tim)). To view the tissue saturation at arbitrary instants of time using interactive graphics, use showstates.
计算组织饱和潜水过程中,在任意瞬间的时间tim,用haldane(chop.dive(d, 0, tim))。在任意时刻的时间使用交互式图形观察组织饱和度,使用showstates。


值----------Value----------

If relative=FALSE and progressive=FALSE, a data frame giving the diver's inert gas saturation state at the end of the dive. Each row of the data frame corresponds to a tissue compartment. The column N2 gives the nitrogen tension (in atmospheres absolute) of each compartment. The column He, if present, gives the Helium tension (in atmospheres absolute) in each compartment.
如果relative=FALSE和progressive=FALSE,一个数据框,在潜水结束,潜水员的惰性气体饱和的状态。的数据框的每行对应于组织室。列N2给出的每个隔室的氮张力(绝对大气压)。该柱He,如果存在,则给出了氦张力(绝对大气压),在每个隔室。

If relative=FALSE and progressive=TRUE, a three-dimensional array giving the diver's inert gas saturation state at each time point during the dive. The first dimension of the array corresponds to successive time points during the dive (the times can be extracted by times.dive). The second dimension corresponds to the tissue compartments. The third dimension corresponds to the inert gases (N2 and/or He). The entries are gas tensions (in atmospheres absolute).
如果relative=FALSE和progressive=TRUE,潜水员的惰性气体饱和的状态,在每个时间点在潜水过程中的一个三维数组。数组的维数对应于连续的时间点在潜水(时间,可以提取times.dive)。第二个维度对应于组织车厢。第三个维度对应惰性气体(N2和/或He)。这些条目气紧张(绝对大气压)。

If relative=TRUE and progressive=FALSE, a vector giving the diver's relative saturation of inert gas at the end of the dive. Entries in the vector correspond to tissue compartments. The entries are relative gas tensions, that is, the total inert gas (Nitrogen plus Helium) tissue saturation divided by the appropriate M-value for that compartment: either the surfacing M-value (if deco=FALSE) or the M-value at current depth (if deco=TRUE).
如果relative=TRUE和progressive=FALSE,一个向量相对饱和潜水员的惰性气体,在潜水结束。向量中的条目相对应的组织腔隔。这些条目的相对气体张力,即,总的惰性气体(氮气加氦)组织饱和除以适当的M值,该隔间:无论是表面的M值(如果deco=FALSE)或M-在当前深度值(如果deco=TRUE)。

If relative=TRUE and progressive=TRUE, a matrix giving the diver's relative saturation at each time point during the dive. Rows of the array correspond to successive time points during the dive. Columns correspond to the tissue compartments. The entries are relative gas tensions, that is, the total inert gas (Nitrogen plus Helium) tissue saturation divided by the appropriate M-value for that compartment: either the surfacing M-value (if deco=FALSE) or the M-value at current depth (if deco=TRUE).
如果relative=TRUE和progressive=TRUE,矩阵,潜水员在潜水过程中的每个时间点的相对饱和。行的数组对应于连续的时间点在潜水过程中。列对应于组织车厢。这些条目的相对气体张力,即,总的惰性气体(氮气加氦)组织饱和除以适当的M值,该隔间:无论是表面的M值(如果deco=FALSE)或M-在当前深度值(如果deco=TRUE)。


警告----------Warnings----------

Not applicable to altitude dives. Not suitable for dive planning.
不适用于高度潜。不适合潜水计划。

No constraints of any kind are checked. In particular it is not guaranteed that the model accepts the dive profile as a no-decompression dive.
检查没有任何形式的限制。特别是它不保证该模型接受一个不减压潜水的潜水资料。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>




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

Undersea and Hyperbaric Medicine Society, Kensington, Maryland (USA). ISBN 0-930406-13-3.
The prevention of compressed air illness. Journal of Hygiene (London) 8, 342&ndash;443.
Bennett and Elliott's Physiology and Medicine of Diving. 5th Edition. Saunders. ISBN 0-7020-2571-2
Dekompression - Dekompressionskrankheit. Springer-Verlag.
Tauchmedizin. 5e Auflage. Springer-Verlag.
Decompression Theory.  In Brubakk and Neuman (2003), Chapter 10.1, pages 419-454.
Basic diving physics and applications. Best Publishing Co.
for nitrogen-oxygen and helium-oxygen dives. Research Report 6-65. US Navy Experimental Diving Unit. Washington DC.

参见----------See Also----------

dive, oxtox, pickmodel, showstates
dive,oxtox,pickmodel,showstates


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


  # First dive to 25 m for 20 min with safety stop[首次下潜至25米安全停止20分钟]
  d1 <- dive(c(25,20),c(5,5))
  # Evaluate saturation according to DSAT model[根据DSAT模型评估饱和度]
  s1 <- haldane(d1)
  s1
  # Look at saturation (in ata)[饱和度(ATA)]
  barplot(s1$N2, ylab="Saturation (ata)")
  # Look at relative saturation[在相对饱和]
  M0 <- param(pickmodel("D"), "N2", "M0")
  barplot(100 * s1$N2/M0, ylab="Saturation (percent)")

  # Evaluate saturation after 2 hour surface interval[评估的表面间隔在2小时后的饱和度]
  s2 <- haldane(dive(c(0,120)), prevstate=s1)
  # Then after another dive to 18 m for 30 min with safety stop[然后安全停止30分钟后,另一次潜水18米]
  s3 <- haldane(dive(c(18, 30),c(5,3)), prevstate=s2)
  # Assess effect of breathing 80% oxygen at safety stop[80%的氧气,在安全停止呼吸的效果评价]
  s3o <- haldane(dive(c(18, 30),5, nitrox(0.8), c(5,3)), prevstate=s2)

  # Inspect saturation during dive d1 at time 10 minutes[检查出现饱和潜水时间10分钟D1]
  s10 <- haldane(chop.dive(d1, 0, 10))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-2 06:21 , Processed in 0.023272 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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