depth_range_index: Depth Range Index

Description Usage Arguments Details References Examples

Description

Vertical extent of the bottom phase

Usage

1
2
depth_range_index(x = ind(), depth_col = 2, probs = c(0, 1),
  index = TRUE)

Arguments

x

input data, a ses object.

depth_col

Character or numeric giving the column of the TDR table that stores the depth sequence

probs

numeric vector of length 2 giving the quantiles probabilities to be used to compute the range. Default to min and max (c(0, 1)). c(0.1, 0.9) can be usefull in order to get estimates robust to wrong bottom delimitation or unusually high wiggles.

index

Should the depth range be divided by the dive maximum depth (index ranging between 0 and 1) or the absolute values be returned ?

Details

The index ranges from 0 (perfectly flat bottom) to 1 (large vertical width bottom).

References

Halsey, L.G., Bost, C.-A., Handrich, Y. (2007) A thorough and quantified method for classifying seabird diving behaviour. Polar Biology, 30, 991-1004.

Examples

1
2
3
4
data(exses)
exses$stat$dri <- depth_range_index(exses)

plot(dri ~ time, exses$stat)

SESman/rbl documentation built on May 9, 2019, 11:10 a.m.