mjs_labs: Configure axis labels & plot description

Description Usage Arguments Value Examples

View source: R/labs.r

Description

Configure axis labels & plot description

Usage

1
mjs_labs(mjs, x_label = NULL, y_label = NULL)

Arguments

mjs

metricsgraphics object

x_label

label for x asis

y_label

label for y axis

Value

metricsgraphics object

Examples

1
2
3
4
mtcars %>%
 mjs_plot(x=wt, y=mpg, width=400, height=300) %>%
 mjs_point(color_accessor=carb, size_accessor=carb) %>%
 mjs_labs(x="Weight of Car", y="Miles per Gallon")

hrbrmstr/metricsgraphics documentation built on May 17, 2019, 5:10 p.m.