Methods for function xyplot
in Package `solaR'
signature(x = "formula", data = "zoo")
: The zoo
object is converted into a data.frame
object and
additional columns are added (day
, month
and
year
, and w
with the solar hour in radians).
This data.frame
is the data
argument for a
call to xyplot
, using the S3 method for class formula
.
signature(x = "formula", data = "Meteo")
: The Meteo
object is converted into a zoo
object
with getData(data)
. This zoo
is the data
argument for a
call to xyplot
, using the S4 method for signature(x = "formula", data = "zoo")
.
signature(x = "formula", data = "Sol")
: The Sol
object is converted into a zoo
object
with as.zooI(data, complete = TRUE, day = TRUE)
(therefore,
the zoo
includes the whole content of the object).
This zoo
is the data
argument for a
call to xyplot
, using the S4 method for signature(x =
"formula", data = "zoo")
.
signature(x = "formula", data = "G0")
: The G0
object is converted into a zoo
object
with as.zooI(data, complete = TRUE, day = TRUE)
(therefore,
the zoo
includes the whole content of the object).
This zoo
is the data
argument for a
call to xyplot
, using the S4 method for signature(x =
"formula", data = "zoo")
.
signature(x = "Meteo", data = "missing")
: The Meteo
object is converted into a zoo
object with
getData(x)
and displayed with the method for zoo
.
signature(x = "G0", data = "missing")
: The x
object is converted into a zoo
object with
as.zooD(x, complete = FALSE)
. Therefore, the content of the
G0D
slot (a zoo
object) is displayed with the method for zoo
.
signature(x = "ProdGCPV", data = "missing")
: Idem, but the variables are not superposed.
signature(x = "ProdPVPS", data = "missing")
: Idem.
signature(x = "formula", data = "Shade")
: The Shade
object is converted into a data.frame
and passed as the
data
argument to the xyplot
function. Once again, the S3
method for class formula
is used.