Description Usage Arguments Value Examples
Render a forest plot from the validationStats
slot of a PCOSP
model object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## 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.
1 2 3 4 | data(sampleValPCOSPmodel)
# Plot
dIndexForestPlot <- forestPlot(sampleValPCOSPmodel, stat='log_D_index')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.