View source: R/visualisation.r
| plotParamEvolutionMsg | R Documentation |
Plot the value of a parameter along the optimisation process. The color scale is the message associated with the point, for instance a geometric transformation. An example message is 'Contracted point in the subcomplex' for the Shuffled complex algorithm. Useful to check the behavior of the optimisation process.
plotParamEvolutionMsg(logMh, paramName)
logMh |
an mhData object |
paramName |
the exact name of one of the model parameters |
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 <- plotParamEvolutionMsg(geomOps, 'Tq')
d
# If there is overplotting, one can use facets to have a clearer view of the optimiser behavior
d + facet_wrap( as.formula(paste("~", geomOps@messages, sep=' ')) )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.