jgl_accrms: Root mean square of acceleration

Description Usage Arguments Value Examples

View source: R/jgl_accrms.R

Description

Calculate root mean square (RMS) of acceleration in bins corresponding to OCDR bins.

Usage

1
jgl_accrms(prh, A)

Arguments

prh

PRH data frame with ocdr column and binwidth attribute.

A

Acceleration data frame. Columns Atime (POSIXct) and A (3-column matrix) with an attribute, Afs, for the sampling frequency.

Value

PRH data frame with rms_acc matrix column.

Examples

1
2
3
prh_ocdr <- jgl_ocdr(jgl_desc(prh_expl))
acc_filt <- jgl_filtacc(Araw_expl, 10, 90)
jgl_accrms(prh_ocdr, acc_filt)

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