# Create a simple meta-analysis object
ma <- metagen(TE = c(0.5, 0.8, 0.3), seTE = c(0.2, 0.3, 0.15),
studlab = paste("Study", LETTERS[1:3]))
# Get dimensions in inches (default)
forest_dims(ma)
# Get dimensions in centimetres
forest_dims(ma, units = "cm")
# Forest plot with details on meta-analysis methods
forest_dims(ma, details = TRUE, units = "cm")
Run the code above in your browser using DataLab