Learn R Programming

echarts4r (version 0.1.1)

e_scatter_gl: Scatter GL

Description

Draw scatter GL.

Usage

e_scatter_gl(e, y, z, name = NULL, coord.system = "geo", rm.x = TRUE,
  rm.y = TRUE, ...)

e_scatter_gl_(e, y, z, name = NULL, coord.system = "geo", rm.x = TRUE, rm.y = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts.

y, z

Column names containing y and z data.

name

name of the serie.

coord.system

Coordinate system to plot against.

rm.x, rm.y

Whether to remove x and y axis, defaults to TRUE.

...

Any other option to pass, check See Also section.

See Also

http://echarts.baidu.com/option-gl.html#series-scatterGL

Examples

Run this code
# NOT RUN {
quakes %>% 
  e_charts(long) %>% 
  e_geo(
    roam = TRUE,
    boundingCoords = list(
      c(185, - 10),
      c(165, -40)
     )
  ) %>% 
  e_scatter_gl(lat, depth)

# }

Run the code above in your browser using DataLab