D_window-methods(solaR)
D_window-methods()所属R语言包:solaR
Methods for extracting a time window
用于提取一个时间窗口的方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Method for extracting the subset of a solaR object whose daily time index (indexD) is comprised between the times i and j.
方法提取的子集的solaR对象,其每天的时间指数(indexD)由时代i和j之间。
用法----------Usage----------
## S4 method for signature 'Meteo'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'Sol'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'G0'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'Gef'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'ProdGCPV'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'ProdPVPS'
x[i, j, ..., drop = TRUE]
参数----------Arguments----------
参数:x
A Meteo, Sol, etc. object.
AMeteo,Sol,等对象。
参数:i
an index/time value (Date or POSIXct classes) defining the start of the time window.
索引/时间值(Date或POSIXct类)定义的时间窗口开始。
参数:j
an index/time value (Date or POSIXct classes) defining the end of the time window.
索引/时间值(Date或POSIXct类)定义的时间窗口。
参数:..., drop
Additional arguments for window.zoo
其他参数window.zoo
(作者)----------Author(s)----------
Oscar Perpi帽谩n Lamigueiro
参见----------See Also----------
window.zoo indexD
window.zooindexD
实例----------Examples----------
lat=37.2
sol=calcSol(lat, BTd=fBTd(mode='serie'))
range(indexD(sol))
start <- as.POSIXct('2011-01-01')
end <- as.POSIXct('2011-01-31')
solWindow <- sol[start, end]
range(indexD(solWindow))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|