View source: R/create_map_file.R
create_map_file | R Documentation |
Creates a .png map with the assigned file prefix in the designated file path (i.e. directory)
create_map_file(
x,
file.prefix = NA,
file.path = NA,
try.change_text_size = FALSE,
width = 12,
height = 9,
units = "in",
res = 300,
bg = "transparent"
)
x |
List containing ggplot object |
file.prefix |
Character vector indicating what name should precede the file name. If not provided, uses |
file.path |
File path where the png should be saved. By default, Saves to working directory. |
try.change_text_size |
Logical indicating whether labels of the input list should be resized using predefined scaling factors. |
width |
Width of the .png. Passed to |
height |
Height of the .png. Passed to |
units |
Units of width and height. Passed to |
res |
Resolution of the output. Passed to |
bg |
Color of the background. Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.