rbs: 'rbs' Reverse Broken Stick algorithm

Description Usage Arguments Details Author(s) See Also Examples

View source: R/rbs.R

Description

rbs Reverse Broken Stick algorithm

Usage

1
rbs(data = dive, num = 100, n.bs = 4)

Arguments

data

Data frame with dive data output from Satellite Relay Data Loggerds (SRDLs)

num

Which dive in data should be processed. If NA, the entire dataset is processed.

n.bs

Number of valid broken stick time/depth points in data.

Details

Takes a standard dive set of dive data from SRDLs (Sea Mammal Research Unit), and returns three new variables: order: Character, order in which inflction points were extracted max.res: Numeric, maximum remaining residual (in meters) unaccounted for by summarized dive profile reordered: Logical, if dive was reorganized from inconsistent ordering in original file NOTE! Names in the data frame sould have underscores replaced by dots prior to running this function!

Author(s)

Martin Biuw

See Also

pDrift to calculate drift rate and probability weightings for drift dive detection

check.pDrift to interactively check drift dive weightings

fitDrate To fit state-space model to weighted data to estimate drift rate change over time

fitPlot To plot output from fitDrate

Other Drift dive functions: check.pDrift(), fitDrate(), fitPlot(), pDrift()

Examples

1
2
rbs(data=dive, num=100, n.bs=4)
dive <- rbs(data=dive, num=NA, n.bs=4)

embiuw/drifteR documentation built on March 1, 2021, 6:40 a.m.