combined_rmse: Calculate the combined root mean square error

Description Usage Arguments Value

View source: R/fit.R

Description

combined_rmse() segments dive data by duration, fits two quantile regressions, and returns the combined root mean square error (RMSE) of both regressions.

Usage

1
combined_rmse(breakpoint, data, tau = 0.05)

Arguments

breakpoint

duration to segment the dive data

data

dive data with breaths and dives identified (see find_breaths_dives())

tau

which quantile to regress (0.05 by default)

Value

the combined RMSE of the segmented regression


FlukeAndFeather/breath documentation built on April 25, 2020, 3:15 a.m.