search for: widthcolumn

Displaying 2 results from an estimated 2 matches for "widthcolumn".

2009 Mar 21
1
Forestplot () box size question
...drawSummaryCI <- function(LL, OR, UL, size) { grid.polygon(x = unit(c(LL, OR, UL, OR), "native"), y = unit(0.5 + c(0, 0.5 * size, 0, -0.5 * size), "npc"), gp = gpar(fill = col$summary, col = col$summary)) } plot.new() widthcolumn <- !apply(is.na(labeltext), 1, any) nc <- NCOL(labeltext) labels <- vector("list", nc) if (is.null(align)) align <- c("l", rep("r", nc - 1)) else align <- rep(align, length = nc) nr <- NROW(labeltext) is.summary...
2011 Jan 31
0
Forest Plot Text
..., 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 anyone know how to fix this? S ________________________________ PHRI DISCLAIMER This information is directed in confidence solely to the person named above and may not oth...