是否有调整 Forestplot() 中绘图区域的宽高比的参数?我想将 x 轴设置为 y 轴高度的 2/3。
谢谢!
# Package
library(forestplot)
# Data
test_data <- data.frame(coef=c(1.59, 1.24),
low=c(1.4, 0.78),
high=c(1.8, 1.55),
varname=c("aa","bb"),
varexplan=c("A very long description A very long description","A very long description A very long description"))
test_data$varexplan <- as.character(test_data$varexplan)
test_data$varname <- as.character(test_data$varname)
# Prepare text
tabletext <- cbind(c(test_data$varname),
c(test_data$explan))
# Plot
forestplot(tabletext,
test_data$coef,
test_data$low,
test_data$high)