forestPlot,PCOSP_or_ClinicalModel-method {PDATK} | R Documentation |
validationStats
slot of a PCOSP
model object.Render a forest plot from the validationStats
slot of a PCOSP
model object.
## S4 method for signature 'PCOSP_or_ClinicalModel' forestPlot( object, stat, groupBy = "mDataType", colourBy = "isSummary", vline, ..., xlab, ylab, transform, colours, title )
object |
A |
stat |
A |
groupBy |
A |
colourBy |
A |
vline |
An |
... |
Force subsequent parameters to be named, not used. |
xlab |
A |
ylab |
A |
transform |
The name of a numeric function to transform the statistic before making the forest plot. |
colours |
A |
title |
A |
A ggplot2
object.
data(sampleValPCOSPmodel) # Plot dIndexForestPlot <- forestPlot(sampleValPCOSPmodel, stat='log_D_index')