Skip to content

My forest plot is not fit to windows in R software

4 messages · Fahimeh Alizadeh, Michael Dewey

#
Dear Prof.?My forest plot is not fit to windows in R software, I have 49 studies but forest plot only show from 9 to 42.?
forest.meta(hidemeta, layout="RevMan5", xlab="Proportion", comb.r=T, comb.f=F, xlim = c(0,1), fontsize=10, digits=3)


Whould you please help me to access full forest plot??Thank you

Sincerely,Fahimeh

Dr. Fahimeh AlizadehPost-Doctorate Fellow and Ph.DMicrobial Biotechnology
Islamic Azad University
? ? ? ? ? ? ? ? ? ?
 
 ?
? ? ? ? ? ? ? ? ? ??
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1673296370309blob.jpg
Type: image/png
Size: 78623 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20230110/2bd45762/attachment.png>
#
Dear Fahimeh

It would help if you also told us what package you are using as there 
are several which perform forest plots. I assume it is meta.

Your plot is cropped on three side as far as I can see. What parameters 
did you give to the call of the graphics device? What happens if you use 
a different graphics format like pdf? Then we may be able to see where 
the issue lies.

Michael
On 10/01/2023 12:30, Fahimeh Alizadeh via R-help wrote:

  
    
  
#
Dear Prof.Thank you for your kind response. I have only used:
install.packages("tidyverse")

install.packages("meta")

install.packages("metafor")

library(tidyverse)

library(meta)
library(metafor)and then,forest.meta(hidemeta, layout="RevMan5", xlab="Proportion", comb.r=T, comb.f=F, xlim = c(0,1), fontsize=10, digits=3)Unfortunately I am not familiar to R software, I have not chosen graphics device. could you please help me to choose graphics format like pdf?
All the best for you
Sincerely,Fahimeh Alizadeh



Dr. Fahimeh AlizadehPost-Doctorate Fellow and Ph.DMicrobial Biotechnology
Islamic Azad University
? ? ? ? ? ? ? ? ? ?
 
 ?
? ? ? ? ? ? ? ? ? ??
On Tuesday, January 10, 2023 at 09:46:40 PM GMT+3:30, Michael Dewey <lists at dewey.myzen.co.uk> wrote:
Dear Fahimeh

It would help if you also told us what package you are using as there 
are several which perform forest plots. I assume it is meta.

Your plot is cropped on three side as far as I can see. What parameters 
did you give to the call of the graphics device? What happens if you use 
a different graphics format like pdf? Then we may be able to see where 
the issue lies.

Michael
On 10/01/2023 12:30, Fahimeh Alizadeh via R-help wrote:

  
    
#
Dear Fahimeh

Try preceding your call of forest.meta with

pdf("myplot.pdf")
forest.meta(..............)
dev.off()

Why did you set xlim to c(0, 1)

Michael
On 10/01/2023 19:37, Fahimeh Alizadeh wrote: