calc_dist: Calculates distance CBASS has traveled

View source: R/calc_dist.R

calc_distR Documentation

Calculates distance CBASS has traveled

Description

Calculates distance (in meters) CBASS has traveled over a given duration based on speed and time

Usage

calc_dist(
  speed,
  start_time = NULL,
  end_time = NULL,
  speed_units = "knots",
  duration = NULL
)

Arguments

speed

speed of CBASS

start_time

start time

end_time

end time

speed_units

option of "knots" (default) or "m/s"

duration

instead of start/end time can also supply the duration in seconds


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.