label_plot: Labeling the Plot

View source: R/utils.R

label_plotR Documentation

Labeling the Plot

Description

Label the axses of a plot with formatted/unformatted variable names and label the plot with a formatted/unformatted plot title.

Usage

label_plot(plot_type, ..., label_fmt = TRUE)

Arguments

plot_type

the type of plot used to visualize data in a string

...

variable names in strings

label_fmt

Boolean to indicate whether plot labels should be formatted

Value

labels for a plot

Examples

label_plot("Scatter Plot", "price", "carat", "cut", label_fmt = TRUE)


sarazong/SZRtools documentation built on Feb. 8, 2024, 6:49 a.m.