| D_xyplot-methods {solaR} | R Documentation |
Methods for function xyplot in Package ‘solaR’
Description
Methods for function xyplot in Package ‘solaR’
Methods
signature(x = "formula", data = "zoo"):-
The
zooobject is converted into adata.frameobject and additional columns are added (day,monthandyear, andwwith the solar hour in radians). Thisdata.frameis thedataargument for a call toxyplot, using the S3 method for classformula. signature(x = "formula", data = "Meteo"):-
The
Meteoobject is converted into azooobject withgetData(data). Thiszoois thedataargument for a call toxyplot, using the S4 method forsignature(x = "formula", data = "zoo"). signature(x = "formula", data = "Sol"):-
The
Solobject is converted into azooobject withas.zooI(data, complete = TRUE, day = TRUE)(therefore, thezooincludes the whole content of the object). Thiszoois thedataargument for a call toxyplot, using the S4 method forsignature(x = "formula", data = "zoo"). signature(x = "formula", data = "G0"):-
The
G0object is converted into azooobject withas.zooI(data, complete = TRUE, day = TRUE)(therefore, thezooincludes the whole content of the object). Thiszoois thedataargument for a call toxyplot, using the S4 method forsignature(x = "formula", data = "zoo"). signature(x = "Meteo", data = "missing"):-
The
Meteoobject is converted into azooobject withgetData(x)and displayed with the method forzoo. signature(x = "G0", data = "missing"):-
The
xobject is converted into azooobject withas.zooD(x, complete = FALSE). Therefore, the content of theG0Dslot (azooobject) is displayed with the method forzoo. signature(x = "ProdGCPV", data = "missing"):-
Idem, but the variables are not superposed.
signature(x = "ProdPVPS", data = "missing"):-
Idem.
signature(x = "formula", data = "Shade"):The
Shadeobject is converted into adata.frameand passed as thedataargument to thexyplotfunction. Once again, the S3 method for classformulais used.
Author(s)
Oscar Perpiñán Lamigueiro