0
output$plot <-renderPlot({
      mtcars %>%
        mjs_plot(x=mpg, y=cyl) %>%
        mjs_line() %>%
        mjs_add_marker(18.7, "Something Wonderful") %>%
        mjs_add_baseline(6, "Something Awful")
    })

This syntax cannot display the output of plot enter image description here

what's the solution?

  • 1
    Hello, please include a [minimal reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) – bretauv Feb 14 '22 at 12:49

0 Answers0