Convert a Sol
, G0
, Gef
,
ProdGCPV
or ProdPVPS
object into a
zoo
object with intradaily values and (optionally) daily values.
# S4 method for Sol
as.zooI(object, complete=FALSE, day=FALSE)
A Sol
object (or extended).
A logical.
A logical.
signature(object = "Sol")
If complete=FALSE
and
day=FALSE
(default) the result includes only the content of the
solI
slot. It day=TRUE
the contents of the solD
slot are included.
signature(object = "G0")
If complete=FALSE
and
day=FALSE
(default) the result includes only the columns of
G0
, D0
and B0
of the G0I
slot.
If complete=TRUE
it returns the contents of the slots G0I
and solI
. If day=TRUE
the daily values (slots G0D
and solD
) are also included.)
signature(object = "Gef")
If complete=FALSE
and
day=FALSE
(default) the result includes only the columns of
Gef
, Def
and Bef
of the GefI
slot. If complete=TRUE
it
returns the contents of the slots GefI
, G0I
and
solI
. If day=TRUE
the daily values (slots GefD
, G0D
and solD
) are also included.)
signature(object = "ProdGCPV")
If complete=FALSE
and
day=FALSE
(default) the result includes only the columns of
Pac
and Pdc
of the prodI
slot. If complete=TRUE
it
returns the contents of the slots prodI
, GefI
, G0I
and
solI
. If day=TRUE
the daily values (slots prodD
, GefD
, G0D
and solD
) are also included.)
signature(object = "ProdPVPS")
If complete=FALSE
and
day=FALSE
(default) the result includes only the columns of
Pac
and Q
of the prodI
slot. If complete=TRUE
it
returns the contents of the slots prodI
, GefI
, G0I
and
solI
. If day=TRUE
the daily values (slots prodD
, GefD
, G0D
and solD
) are also included.)