The goal of basf is to plot simple features in a base graphics way.

This is for developers writing packages frustrated with the way sf plots. It’s not for general use.


#> Using GitHub PAT from envvar GITHUB_PAT
#> Downloading GitHub repo mdsumner/[email protected]
#> from URL
#> Installation failed: Not Found (404)


This is a basic example which shows you how to solve a common problem:

#> Loading required package: sf
#> Linking to GEOS 3.6.2, GDAL 2.3.0, proj.4 4.9.3
## all the stuff is available
nc <- read_sf(system.file("shape/nc.shp", package="sf"))

## all we've changed is the plot command
plot(nc[sample(1:nrow(nc), 10), ], col = rainbow(10), add = TRUE)

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

mdsumner/basf documentation built on May 23, 2019, 1:10 p.m.