Add title to meta analysis forest plot

Posted by Timothy Alston on Stack Overflow See other posts from Stack Overflow or by Timothy Alston
Published on 2012-09-11T14:38:30Z Indexed on 2012/09/11 15:38 UTC
Read the original article Hit count: 360

Filed under:

I am meta-analysing some studies and drawing a forest plot for my results. However I can`t seem to get the forest plot to display the title.

An example of my code is:

require(meta)
parameter1<-metaprop(sm="PLOGIT", 
                 event=c(4,16,3,2,10,1,0,2), 
                 n=c(90,402,89,29,153,86,21,48), 
                 level = 0.95, 
                 studlab=c("study 1",
                           "study 2",
                           "study 3",
                           "study 4",
                           "study 5",
                           "study 6",
                           "study 7",
                           "study 8"), 
                 title="meta analysis 1")
forest(parameter1)

When it produces the forest plot, the title "meta analysis 1" is missing.

How can I add this in?

Thanks in advance,

Timothy

© Stack Overflow or respective owner

Related posts about r