ggsave2: Wrapper around ggsave.

View source: R/viz_related.R

ggsave2R Documentation

Wrapper around ggsave.

Description

save a ggplot in a directory

Usage

ggsave2(plot, path, file_name, height = 5, width = 5, ...)

Arguments

plot

a ggplot

path

directory path excluding file name

file_name

a file name with extension

height

device height

width

device width

...

other arguments pass to ggplot2::ggsave().

Value

save a plot in a directory.


cparsania/parcutils documentation built on Oct. 27, 2024, 4:55 a.m.