Learn R Programming

rgeopat2

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.

Copy Link

Version

Install

install.packages('rgeopat2')

Monthly Downloads

201

Version

0.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakub Nowosad

Last Published

September 18th, 2023

Functions in rgeopat2 (0.4.0)

gpat_create_grid

Grid polygon creator
gpat_st_make_grid

Grid polygon creator (without a header)
gpat_read_txt

Read a GeoPAT 2 text output
gpat_read_distmtx

Read a GeoPAT distance matrix
rgeopat2-package

rgeopat2: Additional Functions for 'GeoPAT' 2
british_isles

British Isles
gpat_header_parser

Parse a header of a GeoPAT 2 grid file