Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Nowosad/rgeopat2

Supports analysis of spatial data processed with the 'GeoPAT' 2 software
https://github.com/Nowosad/rgeopat2

geopat

Last synced: 3 months ago
JSON representation

Supports analysis of spatial data processed with the 'GeoPAT' 2 software

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```

# rgeopat2

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/rgeopat2)](https://cran.r-project.org/package=rgeopat2)

The goal of `rgeopat2` is to enhance the functionality of [geoPAT 2](https://github.com/Nowosad/geopat2).

## Installation

Get the released version from CRAN:

```{r cran-installation, eval = FALSE}
install.packages("rgeopat2")
```

Get the development version from github:

```{r gh-installation, eval = FALSE}
# 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:

```{r example}
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](https://rawgit.com/Nowosad/geopat2_manual/master/output/GeoPAT2_Manual.pdf).