Forest_Diag: A forest plot for diagnostic accuracy studies

Description Usage Arguments

View source: R/Forest_Diag.R

Description

This function creates a six column table of the format "median ( LCI - UCI )". Called by Forest_Plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Forest_Diag(
  source_tbl,
  study,
  sort_var = NULL,
  group_var = NULL,
  disp_vars = NULL,
  sens_vars = c("sens", "sens.ci.lower", "sens.ci.upper"),
  spec_vars = c("spec", "spec.ci.lower", "spec.ci.upper"),
  weightmark = NULL
)

Arguments

source_tbl

Dataframe containing the meta-analysis data

study

Index column for unique study identifier e.g. "Obelix 50 B.c."

sort_var

Column to sort rows by.

group_var

Column variable containig group identifiers for subplots. Leave empty if not required.

disp_vars

Column to display in tabulat part of the plot

sens_vars

Columns to use for Sensitivity Forest Plot (median,lci,uci)

spec_vars

Columns to use for Specificity Forest Plot (median,lci,uci)

weightmark

column with values for weightings


moritzlindner/metaplot documentation built on May 10, 2021, 9:38 p.m.