
Wrapper function for standard plot parameters
params_plots.RdWrapper function for standard plot parameters
Arguments
- width
Numeric. Width of the plot. Defaults to
5.0.- height
Numeric. Height of the plot. Defaults to
5.0.- file_type
String. Plot type to save. Might be expanded to other file types. One of
c(".png", ".pdf"). Defaults to".png".- unit
String. Unit type for
widthandheight. One ofc("in", "px", "cm"). Defaults to"in".- res
Integer. Resolution for PNGs. Defaults to
450L.- create_dir
Boolean. Shall the plot directory be generated recursively. Defaults to
TRUE.
Value
A named list with the following elements:
width - Numeric. Width of the plot. Defaults to
5.0.height - Numeric. Height of the plot. Defaults to
5.0.file_type - String. Plot type to save. Might be expanded to other file types. One of
c(".png", ".pdf"). Defaults to".png".unit - String. Unit type for
widthandheight. One ofc("in", "px", "cm"). Defaults to"in".res - Integer. Resolution for PNGs. Defaults to
450L.create_dir - Boolean. Shall the plot directory be generated recursively. Defaults to
TRUE.