knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "70%" )
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.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("swmpkim/SETr")
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.