C_fBTd(solaR)
C_fBTd()所属R语言包:solaR
Daily time base
每日的时基
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Construction of a daily time base for solar irradiation calculation
每天的太阳辐射计算时基建设
用法----------Usage----------
fBTd(mode = "prom",
year=as.POSIXlt(Sys.Date())$year+1900,
start=paste('01-01-',year,sep=''),
end=paste('31-12-',year,sep=''),
format='%d-%m-%Y')
参数----------Arguments----------
参数:mode
character, controls the type of time base to be created. With mode='serie' the result is a daily time series from start to end. With mode='prom' only twelve days, one for each month, are included. During these 'average days' the declination angle is equal to the monthly mean of this angle.
字符,控制以被创建时基的类型。用mode='serie'的结果是每天的时间序列start到end。随着mode='prom'只有12天,每月,都包含。在这些的平均天数“的偏角是等于每月平均这个角度。
参数:year
which year is to be used for the time base when mode='prom'. Its default value is the current year.
今年是用于时基时mode='prom'。它的默认值是当前年份。
参数:start
first day of the time base for mode='serie'. Its default value is the first of January of the current year.
第一天的时基mode='serie'。它的默认值是本年度1月的第一个。
参数:end
last day of the time base for mode='serie'. Its default value is the last day of December of the current year.
最后一天的时基mode='serie'。它的默认值是本年度12月的最后一天。
参数:format
format of start and end.
格式的start和end。
Details
详细信息----------Details----------
This function is commonly used inside fSolD.
这个功能通常是内部使用fSolD。
值----------Value----------
This function returns a POSIXct object.
这个函数返回一个POSIXct对象。
(作者)----------Author(s)----------
Oscar Perpi帽谩n Lamigueiro
参考文献----------References----------
参见----------See Also----------
fSolD, as.POSIXct, seq.POSIXt.
fSolD,as.POSIXct,seq.POSIXt。
实例----------Examples----------
#Average days[平均天数]
fBTd(mode='prom')
#The day #100 of the year 2008[排名第100的2008年的这一天]
BTd=fBTd(mode='serie', year=2008)
BTd[100]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|