gpat_read_txt: Read a GeoPAT 2 text output

Description Usage Arguments Value Examples

View source: R/gpat_read_txt.R

Description

Read a text output of the GeoPAT 2 functions into R

Usage

1

Arguments

x

A filepath to the GeoPAT 2 text file

signature

A signature used to create the GeoPAT 2 text output (supported signatures: "lind", "linds")

Value

data.frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
polygon_filepath = system.file("rawdata/Augusta2011_polygon.txt", package = "rgeopat2")
my_polygon = gpat_read_txt(polygon_filepath)

points_filepath = system.file("rawdata/Augusta2011_points.txt", package = "rgeopat2")
my_points = gpat_read_txt(points_filepath)

lind_filepath = system.file("rawdata/Augusta2011_lind.txt", package = "rgeopat2")
my_lind = gpat_read_txt(lind_filepath, signature = "lind")

linds_filepath = system.file("rawdata/Augusta2011_linds.txt", package = "rgeopat2")
my_linds = gpat_read_txt(linds_filepath, signature = "linds")

grid_filepath = system.file("rawdata/Augusta2011_grid100.txt", package = "rgeopat2")
my_grid = gpat_read_txt(grid_filepath)

gridlinds_filepath = system.file("rawdata/Augusta2011_grid_linds.txt", package = "rgeopat2")
my_grid = gpat_read_txt(gridlinds_filepath, signature = "linds")

rgeopat2 documentation built on May 2, 2019, 4:01 p.m.