save_png: Save a plot as a png

View source: R/outputs.R

save_pngR Documentation

Save a plot as a png

Description

Save a plot as a png

Usage

save_png(plot, filename, width, height, dpi = 400)

Arguments

plot

A plot object.

filename

Filename to save to a png.

width

Width of the image in inches.

height

Height of the image in inches.

dpi

Number of pixels per inch for the png. The default is 400.


houseofcommonslibrary/clcharts documentation built on June 10, 2025, 9:16 p.m.