Displaying 5 results from an estimated 5 matches for "graphwidth".
2008 Dec 09
0
forestplot and x axis scale
...p all the X axes would be
identical (and the different plots could be compared). Here is one
version of code I've used:
mytk10<-c(0.1, 0.5, 1, 2, 5, 10)
pdf(file = "myfile.pdf",
pointsize = 7, paper="letter", width=6, height=9)
forestplot(newcite,or,lcl,ucl,zero=0, graphwidth = unit(1.2,"inches"),
clip=c(log(0.1),log(10)), xlog=TRUE, xticks=mytk10, xlab="Odds Ratio",
col=meta.colors(box="darkblue",line="darkblue",zero="grey50"))
title(main = list("My title", col="darkblue", font=2))
dev.off()
-...
2009 Mar 21
1
Forestplot () box size question
...-randomized trial). The function
is forestplot() from rmeta.
Thanks for any help.
Gerard
Slightly modified working function with data and a call follows:
fplot=function (labeltext, mean, lower, upper, align = NULL,
is.summary = FALSE,
clip = c(-Inf, Inf), xlab = "", zero = 1, graphwidth = unit(3,"inches"),
col = meta.colors(), xlog = FALSE, xticks = NULL,
xlow=0, xhigh, digitsize,
...)
{
require("grid") || stop("`grid' package not found")
require("rmeta") || stop("`rmeta' package not found")...
2006 Aug 29
1
forestplot fucntion in rmeta package
Dear R users,
I would like to adjust the x axis the way I wanted using
"forestplot(labeltext, mean, lower, upper, align = NULL, xlab = "", zero =
0, graphwidth = unit(2, "inches"), col = meta.colors(), xlog = FALSE)". I
tried using xaxt="n" and then redefine the axis using axis(1, at=c(0,0.5,1.0
,1.5,2.0,2.5),label=c(0,0.5,1.0,1.5,2.0,2.5)), but it doesn't work at all.
Seems the forestplot function itself does not allow some b...
2007 Aug 18
0
rmeta package forestplot() function
...not been successful. I have tried adding options like 'cex' or
'font' but none of them seem to work. Is there anything I could do?
This is what I have so far:
forestplot(tabletext,m,l,u,zero=0,
is.summary=c(TRUE,TRUE,rep(FALSE,14),TRUE),
clip=c(log(0.5), log(15)), xlog=TRUE,
graphwidth = unit(4, "inches"), xticks=c(0.5, 1, 2, 4, 8,15),
col=meta.colors(box="royalblue",line="darkblue", summary="royalblue"))
Thanks.
Christie
[[alternative HTML version deleted]]
2011 Jan 31
0
Forest Plot Text
...2", "Outcome B", "Exposure 1", "Exposure 2")
forest_text_table<- cbind(Label_text_forest, forest_number_clop, forest_number_plac, forest_text, forest_pval, forest_int)
plot1<- forestplot(forest_text_table, forest_mean, forest_lower, forest_upper, digits=2,graphwidth = unit(2,"inches"), zero=1, clip = c(0.1, 2.50), title(main="Forest Plot"))
####
I get the error message: "Error in unit(rep(1, sum(widthcolumn)), "grobwidth", labels[[1]][widthcolumn]) : 'x' and 'units' must have length > 0".
Does anyon...