swc_ind {mbir} | R Documentation |
Smallest Worthwhile Change: Individual
Description
Provides longitudinal magnitude-based inferences for an individual's change from previous time point and magnitude of deviation from trend line.
Usage
swc_ind(x, swc, type = c("previous", "trend"), ts, te, main, xlab, ylab)
Arguments
x |
numeric vectors of data values |
swc |
smallest worthwhile change |
type |
(character) indicator specifying which type of analysis: "previous" or "trend" |
ts |
(required if |
te |
(optional) typical error. Defaults to typical error of the estimate |
main |
(optional) plot title. Defaults to blank |
xlab |
(optional) x-axis label. Defaults to "Measurement" |
ylab |
(optional) y-axis label. Defaults to name of |
Details
Refer to vignette for further information.
References
Hopkins WG. (2017). A spreadsheet for monitoring an individual's changes and trend. Sportscience 21, 5-9. sportsci.org/2017/wghtrend.htm
Examples
df<-c(97.5,99.9,100.2,101,101.2,99.8)
swc_ind(x = df, swc = 0.5, te = 1, ts = 0.25, type = "trend")
[Package mbir version 1.3.5 Index]