View source: R/old_code/bluehill_functions.2.R View source: R/old_code/bluehill_functions.1.R View source: R/bluehill_functions.R
bh_slack_correct | R Documentation |
Remove any slack at the start of a test (or cycle)
bh_slack_correct(DT)
DT |
a |
The Bluehill version sets the limits at 2% and 80% of maximum then uses AutoSlope to get the estimated slope and sets the new zero to where that line intersects y = 0.
This version justs fits a single line to the range from 2% to 80% of maximum
and uses the intercept from that to define the zero point. Rows before that point are
removed and the first row subtracted from both Time
and Extension
so that they start from zero. Load
is unchanged.
Really just a wrapper for trim_slack()
.
The original series with any initial slack portion removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.