save_paper_plot: Save a plot to current directory

View source: R/save_paper_plot.R

save_paper_plotR Documentation

Save a plot to current directory

Description

Save a plot to current directory

Usage

save_paper_plot(plot_to_save, file_name, type_size = "full_size")

Value

NULL. A pdf and png files with the plot to save are saved to the working directory

Author(s)

Pedro Santos Neves

Examples

## Not run: 
plotting_table <- prepare_results_to_plot(readRDS("full_res.rds"))
plot <- plot_estimate_results(
  plotting_table,
  parameter_name = "lambda_c",
  partition_by = "island_age",
  colour_by = "stac",
  shape_by = "c_m"
)
save_paper_plot(plot_to_save = plot, "lac_plot", type_size = "full_size")

## End(Not run)

Neves-P/islandpaleoarea documentation built on Feb. 10, 2024, 8:46 a.m.