shift_distance: Shifts the distance variable in a chemistry dataset to a new...

View source: R/preprocess_data.R

shift_distanceR Documentation

Shifts the distance variable in a chemistry dataset to a new 0 point based on .zero_function

Description

Shifts the distance variable in a chemistry dataset to a new 0 point based on .zero_function

Usage

shift_distance(.chem_data, .zero_function = identity, .zf_args)

Arguments

.chem_data

chemistry dataset for a single id_transect

.zero_function

a function that shifts the distance function. Defaults to identity. x must be first argument, where x is .chem_data

.zf_args

arguments passed to .zero_function


bsaul/elktoeChemistry documentation built on Nov. 17, 2022, 8:10 a.m.