Saves a risk of bias plot to file. The file format is determined by the filename extension (.png, .pdf, .svg, .tiff, .jpeg, .bmp, or .wmf).
Examples
if (FALSE) { # \dontrun{
# Create and save traffic light plot
results <- list(
assess_rob2(
study_id = "STUDY001",
d1_randomization = "Low",
d2_deviations = "Low",
d3_missing_data = "Low",
d4_measurement = "Some concerns",
d5_selection = "Low"
)
)
plot <- create_rob_traffic_light_plot(results)
save_rob_plot(plot, "rob_traffic_light.png", width = 8, height = 5)
# Save as PDF (vector format)
save_rob_plot(plot, "rob_summary.pdf", width = 10, height = 6)
} # }
