View source: R/visualisation.r
plotScore | R Documentation |
Plots a custom view of the fitness (defaults: max score so far)
plotScore(logMh, FUN = rollingMax)
logMh |
an mhData object |
FUN |
a function to apply to the 'fitness' column as specified by the mhData object |
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) geomOps <- copyMhData( geomOps, boundValuesDf(geomOps@data, geomOps@fitness, c(0,1))) d <- plotMaxScore(geomOps) d ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.