rgeopat2

Build Status codecov CRAN_Status_Badge

The goal of rgeopat2 is to enhance the functionality of geoPAT 2.

Installation

Get the released version from CRAN:

install.packages("rgeopat2")

Get the development version from github:

# install.packages("devtools")
devtools::install_github("Nowosad/rgeopat2")

Example

This is a basic example which shows you how to create a grid polygon based on the geoPAT 2 header file:

library(rgeopat2)
header_filepath = system.file("rawdata/Augusta2011_grid100.hdr", package = "rgeopat2")
my_grid = gpat_create_grid(header_filepath)
plot(my_grid)

More examples can be found in GeoPAT 2 manual.