Convenience wrapper around ggplot2::ggsave for the plot_*
circadian figures; the output format is taken from the file extension
(.png, .pdf, .svg).
Arguments
- plot
A ggplot object (e.g. from
plot_actogram).- file
Output path; its extension sets the format.
- width, height
Size in inches (defaults 8 x 5).
- dpi
Resolution for raster formats (default 300).
