mjs_labs: Configure axis labels & plot description

Description Usage Arguments Value Examples

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")

metricsgraphics documentation built on May 1, 2019, 8:07 p.m.