D_window-methods {solaR} | R Documentation |
Methods for extracting a time window
Description
Method for extracting the subset of a solaR
object
whose daily time index (indexD
) is comprised between the
times i
and 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 |
i |
an index/time value ( |
j |
an index/time value ( |
... , drop |
Additional arguments for |
Author(s)
Oscar Perpiñán Lamigueiro
See Also
Examples
lat = 37.2
sol = calcSol(lat, BTd = fBTd(mode = 'serie'))
range(indexD(sol))
start <- as.Date(indexD(sol)[1])
end <- start + 30
solWindow <- sol[start, end]
range(indexD(solWindow))
[Package solaR version 0.46 Index]