transform_x_vals: Transform x-axis to time

View source: R/dive_tidy_functions.R

transform_x_valsR Documentation

Transform x-axis to time

Description

This function uses the timing dots the transform the x-axis to time, in minutes from the start. This can later be transformed to POSIXct date times and transformed into a regular time series in the add_dates_times function.

Usage

transform_x_vals(trace, time_dots, time_period_min = 12)

Arguments

trace

tidy trace data frame after centering, contains the x and y values of the trace.

time_dots

tidy time dots data frame, contains the x and y positions of the timing dots.

time_period_min

minutes elapsed between two time periods.

Value

trace data frame after arc removal.

Examples

## Not run: 
transform_x_vals(trace, time_dots, time_period_min = 12)

## End(Not run)


EmmaLiTsai/recoverKBTDR documentation built on Aug. 29, 2024, 10:38 a.m.