powered by
Provides longitudinal magnitude-based inferences for an individual's change from previous time point and magnitude of deviation from trend line.
swc_ind(x, swc, type = c("previous", "trend"), ts, te, main, xlab, ylab)
numeric vectors of data values
smallest worthwhile change
(character) indicator specifying which type of analysis: "previous" or "trend"
(required if type = "trend") target slope
type = "trend"
(optional) typical error. Defaults to typical error of the estimate
(optional) plot title. Defaults to blank
(optional) x-axis label. Defaults to "Measurement"
(optional) y-axis label. Defaults to name of x
x
Refer to vignette for further information.
Hopkins WG. (2017). A spreadsheet for monitoring an individual's changes and trend. Sportscience 21, 5-9. sportsci.org/2017/wghtrend.htm
# NOT RUN { 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") # }
Run the code above in your browser using DataLab