Skip to content

kadyb/TrailMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrailMapper

TrailMapper is an R package for morphometric analysis of trails. This is an open-source implementation of the ArcGIS toolbox created by Tweneboah Kodua Dwamena.

Installation

You can install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("kadyb/TrailMapper")

Usage

library("terra")
library("TrailMapper")

DEM = system.file("DEM.tif", package = "TrailMapper")
DEM = rast(DEM)

boundary = system.file("boundary.gpkg", package = "TrailMapper")
boundary = vect(boundary)
boundary$ID = 1 # this is now required to work

output = sample_transects(DEM, boundary, interval = 2)
str(output)

About

The R package for morphometric analysis of trails

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages