Description Usage Arguments Details See Also Examples
A generic function that turns 'metaDF'
objects into a character matrix
used for plotting.
1 |
df |
Either an object of class |
... |
Other arguments. |
df
can be any object from the generic function
meta2DF()
. It is converted into a matrix for plotting by the
function drawMeta()
.
metaDF2Matrix.metabinDF
,
metaDF2Matrix.metacontDF
,
drawMeta
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(meta)
data(Olkin95)
meta1 <- metabin(event.e, n.e, event.c, n.c, data = Olkin95,
subset = c(41,47,51,59), sm = "RR", method = "I")
Data <- meta2DF(meta1, title = "Thrombolytic Therapy" ,
rowOrder = "effect", decreasing = TRUE)
matrix <- metaDF2Matrix(Data,
order = c("study", "event.e", "event.c", "effect",
"ci", "w.fixed", "w.random"),
roundCols = c("effect" = 2, "w.fixed" = 1,
"w.random" = 1),
hgap = c(2, 8, 11), vgap = 5,
newCols = list(ci = makeCIDesc("e.lower", "e.upper",
2, c("[", "]"))))
matrix
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.