Home

Awesome

<!-- README.md is generated from README.Rmd. Please edit that file --> <!-- badges: start -->

Travis build
status Lifecycle:
maturing AppVeyor build
status

<!-- badges: end -->

globe4r

Interactive globes for R via globe.gl.

Visit the website for more details.

<img src="./man/figures/logo.png" height="250" align="right" />
  1. bars
  2. arcs
  3. polygons
  4. points
  5. hex bin

Visit the website for the full list of functions

Installation

You can install the globe4r from Github:

# install.packages("remotes")
remotes::install_github("JohnCoene/globe4r")

Example

library(globe4r)

data("population") # sample data

create_globe() %>% # initialise
  globe_bars(
    coords(lat, lon, altitude = value, color = value),
    data = population
  ) %>% 
  scale_bars_altitude() %>% 
  scale_bars_color()