Displaying 1 result from an estimated 1 matches for "probiem".
Did you mean:
probem
2010 Jan 10
0
ordering of additional columns in forest plot in meta package
...in the example) and second decreasing size of totals
('n' in the example).
The proper ordering of this data is confirmed by the color coding
(black and red in the example) of the subgroup label. Also the
"studlab","event" and "n" are all ordered correctly.
The probIem now is that I cannot get the added columns
("rnd.subgroup1" and "rnd.subgroup2") to follow this same proper
ordering.
library(meta)
# dummy data
nr.studies <- 20
rnd.subgroup1 <- round(rnorm(nr.studies,1.5,.1),0) # random 1s and 2s
rnd.subgroup2 <- c(letters[1:nr.stu...