jgl_desc: Find steep descent phases at the beginning of dives

Description Usage Arguments Value Examples

View source: R/jgl_desc.R

Description

Annotates a PRH data frame with descent phases. Each descent phase begins with the start of a dive and ends at the beginning of the bottom phase. Only the part of the descent exceeding the pitch threshold is annotated.

Usage

1
jgl_desc(prh, depth_thr = 5, pitch_thr = -45 * pi/180)

Arguments

prh

A PRH data frame

depth_thr

Minimum depth of a dive

pitch_thr

Minimum pitch to count as steep descent (in radians)

Value

A PRH data frame with a column desc_id identifying each descent.

Examples

1

FlukeAndFeather/jiggle documentation built on Oct. 30, 2019, 6:18 p.m.