inst/doc/SPAG_tutorial.R

## ----setup, include=FALSE------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)

## ----eval=FALSE----------------------------------------------------------
#  devtools::install_github("pbiecek/SPAG")
#  library(SPAG)

## ----eval=FALSE----------------------------------------------------------
#  ?ShapefilePoland
#  ShapefilePoland

## ----eval=FALSE----------------------------------------------------------
#  ?CompaniesPoland
#  CompaniesPoland

## ----eval=FALSE----------------------------------------------------------
#  ?SPAG
#  SPAGIndex <- SPAG(companiesDF = CompaniesPoland, shp = ShapefilePoland)
#  print(SPAGIndex)

## ----eval=FALSE----------------------------------------------------------
#  ggSPAG <- plot(SPAGIndex)
#  ggSPAG
pbiecek/SPAG documentation built on May 24, 2019, 10:36 p.m.