plot.valmeta {metamisc}R Documentation

Forest Plots

Description

Function to create forest plots for objects of class "valmeta".

Usage

## S3 method for class 'valmeta'
plot(x, ...)

Arguments

x

An object of class "valmeta"

...

Additional arguments which are passed to forest.

Details

The forest plot shows the performance estimates of each validation with corresponding confidence intervals. A polygon is added to the bottom of the forest plot, showing the summary estimate based on the model. A 95% prediction interval is added by default for random-effects models, the dotted line indicates its (approximate) bounds.

Value

An object of class ggplot

Author(s)

Thomas Debray <thomas.debray@gmail.com>

References

Examples

data(EuroSCORE)
fit <- valmeta(cstat=c.index, cstat.se=se.c.index, cstat.cilb=c.index.95CIl,
               cstat.ciub=c.index.95CIu, N=n, O=n.events, data=EuroSCORE)
plot(fit)

library(ggplot2)
plot(fit, theme=theme_grey())


[Package metamisc version 0.2.3 Index]