threejs

The threejs package, as discussed at the beginning of the chapter, can be used to produce 3D scatterplots or plots on globe mappings (including Earth and celestial bodies). It can be installed using install.packages("threejs"). In order to produce the globe output that is shown in the screenshot, it is necessary to also install maps using install.packages("maps"). An example is shown here:

Globe

The visualization is completely interactive and can be spun with a mouse drag.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset