View source: R/visualisation.r
| plotParamEvolution | R Documentation |
Plot the value of a parameter along the optimisation process. The color scale is the objective score. Useful to check the behavior of the optimisation process.
plotParamEvolution( logMh, paramName, objLims = NULL, title = "Evolution of parameter values", xlab = "Logged point", ylab = paramName )
logMh |
an mhData object |
paramName |
the exact name of one of the model parameters |
objLims |
optional bounds to apply to the objective function value prior to plotting (e.g. c(0,1) for Nash-Sutcliffe efficiency) |
a ggplot object
## Not run:
logFileName <- 'F:/path/to/419016_IhacresClassic_19390101_19481231.csv'
logSce <- loadMhLog(logFileName)
logMh <- new("mhData",
data= logSce,
fitness = "NSE.logbias",
messages = "Message",
categories = "Category")
geomOps <- subsetByMessage(logMh)
d <- plotParamEvolution(geomOps, 'Tq', objLims=c(0,1))
d
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.