plotScore: Plots a custom view of the fitness (defaults: max score so...

View source: R/visualisation.r

plotScoreR Documentation

Plots a custom view of the fitness (defaults: max score so far)

Description

Plots a custom view of the fitness (defaults: max score so far)

Usage

plotScore(logMh, FUN = rollingMax)

Arguments

logMh

an mhData object

FUN

a function to apply to the 'fitness' column as specified by the mhData object

Value

ggplot object

Examples

## 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)

jmp75/mhplot documentation built on Feb. 4, 2023, 9:31 p.m.