D_as.zooI-methods {solaR} | R Documentation |
Methods for Function as.zooI
Description
Convert a Sol
, G0
, Gef
,
ProdGCPV
or ProdPVPS
object into a
zoo
object with intradaily values and (optionally) daily values.
Usage
## S4 method for signature 'Sol'
as.zooI(object, complete=FALSE, day=FALSE)
Arguments
object |
A |
complete |
A logical. |
day |
A logical. |
Methods
signature(object = "Sol")
If
complete=FALSE
andday=FALSE
(default) the result includes only the content of thesolI
slot. Itday=TRUE
the contents of thesolD
slot are included.signature(object = "G0")
If
complete=FALSE
andday=FALSE
(default) the result includes only the columns ofG0
,D0
andB0
of theG0I
slot. Ifcomplete=TRUE
it returns the contents of the slotsG0I
andsolI
. Ifday=TRUE
the daily values (slotsG0D
andsolD
) are also included.)signature(object = "Gef")
If
complete=FALSE
andday=FALSE
(default) the result includes only the columns ofGef
,Def
andBef
of theGefI
slot. Ifcomplete=TRUE
it returns the contents of the slotsGefI
,G0I
andsolI
. Ifday=TRUE
the daily values (slotsGefD
,G0D
andsolD
) are also included.)signature(object = "ProdGCPV")
If
complete=FALSE
andday=FALSE
(default) the result includes only the columns ofPac
andPdc
of theprodI
slot. Ifcomplete=TRUE
it returns the contents of the slotsprodI
,GefI
,G0I
andsolI
. Ifday=TRUE
the daily values (slotsprodD
,GefD
,G0D
andsolD
) are also included.)signature(object = "ProdPVPS")
If
complete=FALSE
andday=FALSE
(default) the result includes only the columns ofPac
andQ
of theprodI
slot. Ifcomplete=TRUE
it returns the contents of the slotsprodI
,GefI
,G0I
andsolI
. Ifday=TRUE
the daily values (slotsprodD
,GefD
,G0D
andsolD
) are also included.)
Author(s)
Oscar Perpiñán Lamigueiro