pHconv(seacarb)
pHconv()所属R语言包:seacarb
Conversion of pH
pH值的转换
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converts pH from one scale to another one chosen between the total scale, the free scale and the seawater scale
另一个选择之间的总规模,规模和海水规模将pH值从一个规模
用法----------Usage----------
pHconv(flag=1,pH=8.10,S=35,T=25, P=0, ks="d")
参数----------Arguments----------
参数:flag
choice of the type of conversion : flag=1: seawater scale to total scale flag=2: free scale to the total scale flag=3: total scale to the seawater scale flag=4: total scale to the free scale flag=5: seawater scale to the free scale flag=6: free scale to the seawater scale default is flag=1
的转换类型的选择:标志= 1:海水规模到总规模标志= 2:免费规模总规模标志= 3:总规模的海水规模标志= 4:自由的刻度标志= 5的总规模:海水规模的免费刻度标记= 6:免费规模的海水规模默认为标志= 1
参数:pH
Enter the value of pH which need to be converted, default is 8.100
输入需要转换的pH值,默认值是8.100
参数:S
Salinity, default is 35
盐度,默认为35
参数:T
Temperature in degrees Celsius, default is 25oC
摄氏温度,默认为25℃
参数:P
Hydrostatic pressure in bar (surface = 0), default is 0
条形的静水压力(表面= 0),默认为0
参数:ks
"d" for using Ks from Dickon (1990), "k" for using Ks from Khoo et al. (1977), default is "d"
“D”用KS迪肯(1990年),“K”邱等人用KS。 (1977),默认为“D”
Details
详细信息----------Details----------
The Dickson (1990) constant is recommended by Guide to Best Practices for Ocean CO2 Measurements (2007). It is critical to consider that each formulation is valid in specific ranges of temperature and salinity:
迪克森(1990年)不变,建议由海洋CO2测量(2007年)的最佳实践指南。这是关键的考虑,每个配方是有效的,在特定的温度和盐度范围:
Dickson (1990): S ranging between 5 and 45 and T ranging between 0 and 45oC.
迪克森(1990):S介于5和45和T 0和45℃之间的范围。
Khoo et al. (1977): S ranging between 20 and 45 and T ranging between 5 and 40oC.
邱等人。 (1977):S范围20和45和T之间的范围在5至40℃之间。
The arguments can be given as a unique number or as vectors. If the lengths of the vectors are different, the longer vector is retained and only the first value of the other vectors is used. It is recommended to use either vectors with the same dimension or one vector for one argument and numbers for the other arguments.
的参数可被指定为唯一的编号或作为向量。如果矢量的长度是不同的,较长的矢量被保留,并只使用的其它向量的第一个值。建议使用任一向量同尺寸或一个向量的一个参数和其他参数的数字。
值----------Value----------
The function returns the values of pH converted
该函数返回的pH值转换
(作者)----------Author(s)----------
Heloise Lavigne and Jean-Pierre Gattuso <a href="mailto:gattuso@obs-vlfr.fr">gattuso@obs-vlfr.fr</a>
参考文献----------References----------
参见----------See Also----------
kconv.
kconv。
实例----------Examples----------
##To convert pH=8.10 from the seawater scale to the total scale[#要转换的总规模从海水中规模pH值= 8.10]
##at salinity=35, temperature=25oC and atmospheric pressure:[#在盐度为35,温度为25℃和大气压力:]
pHc <- pHconv(flag=1, pH=8.10, S=35, T=25, P=0, ks="d")
##note that pHc is the value of the pH converted in total scale[#注意,初级卫生保健的总规模转换的pH值]
## By using vectors[#通过使用向量]
## to convert the pH values : 8, 8.05, 8.10, 8.15, 8.20 [#转换的pH值:8,8.05,8.10,8.15,8.20]
## from the free to the total scale[#从免费到总规模]
pH <- c(8, 8.05, 8.10, 8.15, 8.20)
pHc <- pHconv(flag=2, pH=pH, S=35, T=25, P=0, ks="d")
## note that pHc is a vector containing the value of the pH converted [#请注意,PHC含有转换的pH值是一个向量]
## to the total scale[#总规模]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|