Supports analysis of spatial data processed with the 'GeoPAT' 2 software < http://sil.uc.edu/cms/index.php?id=geopat2>. Available features include creation of a grid based on the 'GeoPAT' 2 grid header file and reading a 'GeoPAT' 2 text outputs.
The goal of rgeopat2
is to enhance the functionality of
geoPAT 2.
Get the released version from CRAN:
install.packages("rgeopat2")
Get the development version from github:
# install.packages("devtools")devtools::install_github("Nowosad/rgeopat2")
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.