Reputation: 745
I have a problem with this code , what is wrong with this code ?
library(highcharter)
hchart(mtcars,x=mpg,y=disp)
and the results is this :
Error: !is.null(type) is not TRUE
Upvotes: 1
Views: 577
Reputation: 1487
The interface for this package doesn't seem very intuitive (and that error needs better handling) but try:
hchart(mtcars, "scatter", x=mpg, y=disp)
The highcharter docs for hchart show examples with code that might be useful.
Upvotes: 3