The goal of gravity is to …
You can install the released version of gravity from CRAN with:
install.packages("gravity")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("linogaliana/gravity")
This is a basic example which shows you how to solve a common problem:
library(gravity)