create_layer_idFUN: Create a function that identifies layers based on distance

View source: R/preprocess_data.R

create_layer_idFUNR Documentation

Create a function that identifies layers based on distance

Description

Create a function that identifies layers based on distance

Usage

create_layer_idFUN(.data, .reference_transition = "on_")

Arguments

.data

a measurement dataset (for a single id_transect)

.reference_transition

the transition between layer to use as the reference. Defaults to "on_" (the transition from "laser on" to the next layer). "ipx_" is the transition from inner epoxy to the next layer (either nacre or prismatic layer depending on the location of the transect)

Value

a function of x that cuts x based on the distances measured between transitions.


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