knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "70%"
)

SETr

The goal of SETr is to simplify calculations and make graphs for QA/QC and communication of Surface Elevation Table (SET) data.

This package is under development, based on functions created as part of a larger workflow. All code for that project is also on GitHub, here; and at the top of the README for that repo are links to publicly available project outputs. Most of the functions here were used in the Reserve-level technical reports. At first, certain column names will have to exist in the data frames that these functions are used on. As time permits, I hope to add some flexibility.

This README still needs a lot of attention too; the example below is very minimal.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("swmpkim/SETr")

Example

This is a basic example which shows you how to make a simple graph of change since the first reading at each SET:

library(SETr)

# first, perform cumulative change calculations
cumu_set <- calc_change_cumu(example_sets)

# now plot cumulative change by SET
plot_cumu_set(cumu_set$set)

# or by arm, at a single SET
plot_cumu_arm(cumu_set$arm)


swmpkim/SETr documentation built on May 6, 2024, 11:15 p.m.