set_pinhts: Utility to create pin height vector table (named vector)...

View source: R/utilities.R

set_pinhtsR Documentation

Utility to create pin height vector table (named vector) using prompts.

Description

This utility function creates a named vector representing the pin length with a name as the pin number. This table/vector is used in the

Usage

set_pinhts(n_pins = 9, filepath = "pin_height_list.rds")

Arguments

n_pins

Value

a named vector as well as a .rds object written to your current working directory

See Also

set_get_pinlengths and set_get_absolute_heights functions which adjust the measured pin height taken from the SET arm to the NAVD88 datum. This utility is meant to be a helper function and would only need to be run once for creating the named vector and storing it within the project folder (e.g. /data). Users can also create a named vector directly using any number of approaches in R. One approach would be: pinHts <- c(176, 176, 176, 175, 177, 176, 176, 176, 175); names(pinHts) <- 1:9


afstarke/reSET documentation built on July 16, 2025, 10:16 p.m.