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

R语言 sfsmisc包 u.datumdecode()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:42:39 | 显示全部楼层 |阅读模式
u.datumdecode(sfsmisc)
u.datumdecode()所属R语言包:sfsmisc

                                        Convert “Numeric” Dates
                                         转换“数字”的日期

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

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

Daten der Form 8710230920 aufspalten in Jahr, Monat, Tag, Std, Min
在雅尔8710230920 aufspalten,DATEN DER形式月报,标签,标准,闵


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


u.datumdecode(d, YMDHMnames = c("Jahr", "Monat", "Tag", "Std", "Min"))



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

参数:d
numeric dates in the form YYMMDDHHMM.
数字日期的形式YYMMDDHHMM。


参数:YMDHMnames
(column) names to be used for the result.
(列)命名要用于结果。


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

a numeric matrix (or vector) with 5 columns containing the year, month, etc.
数字矩阵(或向量)与5列包含年,月,等


注意----------Note----------

MM: This is a wrong concept, and also suffers from the “millenium bug” (by using only 2 digits for the year).
MM:这是一个错误的概念,同时也患有“千禧虫”(只用2位数字的年份)。


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


?? (someone at SfS ETH)



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

R's proper date-time coding: DateTimeClasses; u.date etc.
R的正确的日期 - 时间编码:DateTimeClasses,“u.date等


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


u.datumdecode(8710230920)
##  Jahr Monat   Tag   Std   Min[#雅尔月报标签标准最小]
##    87    10    23     9    20[#87 10 23 9 20]

u.datumdecode(c(8710230900, 9710230920, 0210230920))
##      Jahr Monat Tag Std Min[#雅尔月报标签标准最小]
## [1,]   87    10  23   9  00[#[1] 87 10 23 9 00]
## [2,]   97    10  23   9  20[#[2] 97 10 23 9 20]
## [3,]    2    10  23   9  20[#[3] 2 10 23 9 20]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 23:56 , Processed in 0.025944 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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