publish {gofigR} | R Documentation |
Publishes a figure to the GoFigr service.
Description
Publishes a figure to the GoFigr service.
Usage
publish(
plot_obj,
figure_name = NULL,
input_path = NULL,
input_contents = NULL,
chunk_code = NULL,
image_formats = c("eps"),
data = NULL,
metadata = NULL,
show = TRUE
)
Arguments
plot_obj |
plot to publish |
figure_name |
name of the figure. If NULL, it will be inferred from the figure's title |
input_path |
path to the source file |
input_contents |
contents of the source file |
chunk_code |
chunk code, if running R markdown |
image_formats |
image formats to save |
data |
optional data to save with this figure. The data will be saved as RDS. |
metadata |
optional metadata |
show |
whether to display the figure after publication |
Value
GoFigr revision object
[Package gofigR version 0.3.1 Index]