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

R语言 solaR包 C_utils-time()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:48:12 | 显示全部楼层 |阅读模式
C_utils-time(solaR)
C_utils-time()所属R语言包:solaR

                                        Utilities for time indexes.
                                         时间索引的操作工具。

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

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

Several small functions to extract information from POSIXct indexes.
几个小函数来提取信息从POSIXct指标。


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


hour(x)
minute(x)
second(x)
hms(x)
doy(x)
dom(x)
month(x)
year(x)
DoY(x)
DoM(x)
Month(x)
Year(x)
dst(x)
truncDay(x)



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

参数:x
A POSIXct vector.
APOSIXct向量。


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

The functions year, month, day, hour, minute, second give the numeric value corresponding to their names.
的功能year,month,day,hour,minute,second给他们的名字相对应的数值。

doy and dom provide the (numeric) day of year and day of month, respectively.
doy和dom提供的(数字)天,年和月的一天,。

Month, Year, DoY and DoM give the same result as month, year, doy and dom in a character string format.
Month,Year,DoY和DoM得到相同的结果为month,year,doy和dom “在一个字符串格式。”

hms gives the numeric value hour(x)+minute(x)/60+second(x)/3600
hms给出了数值hour(x)+minute(x)/60+second(x)/3600

dst is +1 if the Daylight Savings Time flag is in force, zero if not, -1 if unknown (DateTimeClasses).
dst是+1力,如果夏令时的标志是零,如果没有,则返回-1未知(DateTimeClasses)。

truncDay truncates the POSIXct object towards the day.
truncDay截断POSIXct对象对日。


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



Oscar Perpi帽谩n Lamigueiro.




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

as.POSIXct
as.POSIXct

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 03:29 , Processed in 0.023394 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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