mjs_labs {metricsgraphics}R Documentation

Configure axis labels & plot description

Description

Configure axis labels & plot description

Usage

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

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


[Package metricsgraphics version 0.9.0 Index]