JAMAlabels | R Documentation |
Deprecated function to create study labels in JAMA layout (for
forest plot). Replaced by labels.meta
.
JAMAlabels(author, year, citation, data = NULL)
author |
A vector providing study authors. |
year |
A vector providing year of publication. |
citation |
A vector providing citation numbers. |
data |
An optional data frame containing the study information. |
This auxiliary function can be used to create study labels in JAMA layout which can be added to a forest plot using argument 'studlab'.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
labels.meta
, forest.meta
data(Fleiss1993bin)
refs <- 20 + 1:7
Fleiss1993bin$mylabs <-
JAMAlabels(study, year, refs, data = Fleiss1993bin)
m <- metabin(d.asp, n.asp, d.plac, n.plac, data = Fleiss1993bin,
studlab = paste(study, year),
sm = "OR", random = FALSE)
forest(m, studlab = mylabs, layout = "JAMA",
fontfamily = "Times", fontsize = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.