Use S3 plot method for GRiwrm and GRiwrmOutputsModel class objects
-
replace DiagramGRiwrmbyplot.GRiwrm -
Add class GRiwrmOutputsModelin the list returned byRunModel.GRiwrmInputsModel -
Add iditem inOutputsModelembedded inGRiwrmOutputsModel -
Create the method plot.GRiwrmOutputsModelwith the following code:
lapply(
x,
function(y) {
plot(y, Qobs = Qobs[,y$id] , main = y$id, ...)
}
)