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

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

  [复制链接]
发表于 2012-10-1 09:59:22 | 显示全部楼层 |阅读模式
holiday(timeDate)
holiday()所属R语言包:timeDate

                                        Holiday Dates
                                         度假日期

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

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

Returns the date of a holiday.
返回日期的节日。


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


holiday(year = getRmetricsOptions("currentYear"), Holiday = "Easter")



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

参数:Holiday
the unquoted function name of an ecclestial or public holiday  in the G7 countries or Switzerland, see the list below.  
在G7国家或瑞士的ecclestial或公众假期的非上市函数名,看下面的列表。


参数:year
an integer value or vector of years, formatted as YYYY.  
一个整数值或矢量年,,格式为YYYY。


Details

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

Easter is the central ecclestial holiday. Many other holidays are related to this feast. The function Easter computes the dates of Easter and related ecclestial holidays for the  requested year vector. holiday calculates the dates of  ecclestial or publich holidays in the G7 countries, e.g.  holiday(2003, "GoodFriday"). Rmetrics contains holiday  functions automatically loaded at startup time. The user can  add easily additional holiday functions. The information for  the holidays is collected from several web pages about holiday  calendars. The following ecclestial and public [HOLIDAY] functions  in the G7 countries and Switzerland are available: <br>
复活节是中央ecclestial假期。许多其他假期相关的这场盛宴。的功能Easter计算日期的复活节及相关ecclestial的假期,所要求的年度矢量。 holiday计算的的日期ecclestial或publich假期在G7国家,例如: holiday(2003, "GoodFriday")。 Rmetrics度假功能在启动时自动加载。用户可以方便地添加额外的度假功能。收集的信息的假期从多个网页上的假期日历。以下ecclestial和公共[HOLIDAY]功能在G7国家和瑞士可供选择:<BR>

Holidays Related to Easter:
有关复活节的假期:

Septuagesima, Quinquagesima, AshWednesday, PalmSunday, GoodFriday,  EasterSunday, Easter, EasterMonday,  RogationSunday, Ascension, Pentecost, PentecostMonday,  TrinitySunday CorpusChristi. <br>
第三个周日,Quinquagesima,AshWednesday,PalmSunday,GoodFriday,EasterSunday,复活节,EasterMonday,RogationSunday,升天节,圣灵降临节,PentecostMonday,TrinitySunday CorpusChristi。参考

Holidays Related to Christmas:
有关圣诞节的假期:

ChristTheKing, Advent1st, Advent1st, Advent3rd,  Advent4th, ChristmasEve, ChristmasDay, BoxingDay,  NewYearsDay. <br>
ChristTheKing,Advent1st,Advent1st,Advent3rd,Advent4th,ChristmasEve,ChristmasDay,BoxingDay,NewYearsDay。参考

Other Ecclestical Feasts:
其他Ecclestical节日:

SolemnityOfMary, Epiphany, PresentationOfLord,  Annunciation, TransfigurationOfLord, AssumptionOfMary,  AssumptionOfMary, BirthOfVirginMary, CelebrationOfHolyCross,  MassOfArchangels, AllSaints, AllSouls. <br>
SolemnityOfMary,顿悟,PresentationOfLord,报喜,TransfigurationOfLord,AssumptionOfMary,AssumptionOfMary,BirthOfVirginMary,CelebrationOfHolyCross,MassOfArchangels,AllSaints,AllSouls。参考

CHZurich - Public Holidays:
CHZurich  - 公众假期:

CHBerchtoldsDay, CHSechselaeuten, CHAscension,  CHConfederationDay, CHKnabenschiessen. <br>
CHBerchtoldsDay,CHSechselaeuten,CHAscension,CHConfederationDay,CHKnabenschiessen。参考

GBLondon - Public Holidays:
GBLondon  - 公众假期:

GBMayDay, GBBankHoliday, GBSummerBankHoliday,  GBNewYearsEve. <br>
GBMayDay,GBBankHoliday,GBSummerBankHoliday,GBNewYearsEve。参考

DEFrankfurt - Public Holidays:
DEFrankfurt  - 公众假期:

DEAscension, DECorpusChristi, DEGermanUnity, DEChristmasEve, DENewYearsEve. <br>
DEAscension,:DECorpusChristi,DEGermanUnity,DEChristmasEve,DENewYearsEve。参考

FRParis - Public Holidays:
FRParis  - 公众假期:

FRFetDeLaVictoire1945, FRAscension, FRBastilleDay,  FRAssumptionVirginMary, FRAllSaints, FRArmisticeDay. <br>
FRFetDeLaVictoire1945,FRAscension,FRBastilleDay,FRAssumptionVirginMary,FRAllSaints,FRArmisticeDay。参考

ITMilano - Public Holidays:
ITMilano  - 公众假期:

ITEpiphany, ITLiberationDay, ITRepublicAnniversary,  ITAssumptionOfVirginMary, ITAllSaints, ITWWIVictoryAnniversary,  ITStAmrose, ITImmaculateConception. <br>
ITEpiphany,ITLiberationDay,ITRepublicAnniversary,ITAssumptionOfVirginMary,ITAllSaints,ITWWIVictoryAnniversary,ITStAmrose,ITImmaculateConception。参考

USNewYork/USChicago - Public Holidays:
- 公共USNewYork / USChicago的假期:

USNewYearsDay, USInaugurationDay, USMLKingsBirthday,  USLincolnsBirthday, USWashingtonsBirthday, USMemorialDay,  USIndependenceDay, USLaborDay,  USColumbusDay, USElectionDay,  USVeteransDay, USThanksgivingDay, USChristmasDay,  USCPulaskisBirthday, USGoodFriday. <br>
USNewYearsDay,USInaugurationDay,USMLKingsBirthday,USLincolnsBirthday,USWashingtonsBirthday,USMemorialDay,USIndependenceDay,USLaborDay,USColumbusDay,USElectionDay,USVeteransDay,USThanksgivingDay,USChristmasDay,USCPulaskisBirthday,USGoodFriday。参考

CAToronto/CAMontreal - Public Holidays:
- 公共CAToronto / CAMontreal的假期:

CAVictoriaDay, CACanadaDay, CACivicProvincialHoliday,  CALabourDay, CAThanksgivingDay, CaRemembranceDay. <br>
CAVictoriaDay,CACanadaDay,CACivicProvincialHoliday,CALabourDay,CAThanksgivingDay,CaRemembranceDay。参考

JPTokyo/JPOsaka - Public Holidays:
- 公共JPTokyo / JPOsaka的假期:

JPNewYearsDay, JPGantan, JPBankHolidayJan2, JPBankHolidayJan3, JPComingOfAgeDay, JPSeijinNoHi, JPNatFoundationDay, JPKenkokuKinenNoHi, JPGreeneryDay, JPMidoriNoHi,  JPConstitutionDay, JPKenpouKinenBi, JPNationHoliday,  JPKokuminNoKyujitu, JPChildrensDay, JPKodomoNoHi,  JPMarineDay, JPUmiNoHi, JPRespectForTheAgedDay, JPKeirouNoHi, JPAutumnalEquinox, JPShuubun-no-hi,  JPHealthandSportsDay, JPTaiikuNoHi, JPNationalCultureDay,  JPBunkaNoHi, JPThanksgivingDay, JPKinrouKanshaNohi,  JPKinrou-kansha-no-hi, JPEmperorsBirthday, JPTennou-tanjyou-bi, JPTennou-tanjyou-bi. <br>
JPNewYearsDay,JPGantan,JPBankHolidayJan2,JPBankHolidayJan3,JPComingOfAgeDay,JPSeijinNoHi,JPNatFoundationDay,JPKenkokuKinenNoHi,JPGreeneryDay,JPMidoriNoHi,JPConstitutionDay,JPKenpouKinenBi,JPNationHoliday,JPKokuminNoKyujitu,JPChildrensDay,JPKodomoNoHi,JPMarineDay,JPUmiNoHi,JPRespectForTheAgedDay,JPKeirouNoHi,JPAutumnalEquinox,JPShuubun喜,JPHealthandSportsDay, ,JPThanksgivingDay JPTaiikuNoHi,JPNationalCultureDay,JPBunkaNoHi,JPKinrouKanshaNohi,JPKinrou-kansha无喜,JPEmperorsBirthday,JPTennou tanjyou碧,JPTennou tanjyou碧。参考


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

The function holiday returns an object of class timeDate.
函数holiday返回一个对象类timeDate。


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


## holiday -[#节日 - ]
   # Dates for GoodFriday from 2000 until 2010:                     [从2000年到2010年的日期GoodFriday:]
   holiday(2000:2010, "GoodFriday")                  
   
## Easter -   [#复活节 - ]
   Easter(2000:2010)
   
## GoodFriday -                           [#GoodFriday  - ]
   GoodFriday(2000:2010)
   Easter(2000:2010, -2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 23:12 , Processed in 0.020921 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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