Skip to contents

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.