Use S3 plot method for GRiwrm and GRiwrmOutputsModel class objects
-
replace DiagramGRiwrm
byplot.GRiwrm
-
Add class GRiwrmOutputsModel
in the list returned byRunModel.GRiwrmInputsModel
-
Add id
item inOutputsModel
embedded inGRiwrmOutputsModel
-
Create the method plot.GRiwrmOutputsModel
with the following code:
lapply(
x,
function(y) {
plot(y, Qobs = Qobs[,y$id] , main = y$id, ...)
}
)