swc_ind: Smallest Worthwhile Change: Individual

Description Usage Arguments Details References Examples

Description

Provides longitudinal magnitude-based inferences for an individual's change from previous time point and magnitude of deviation from trend line.

Usage

1
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 type = "trend") target slope

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 x

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

1
2
3
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")

Example output

   Trend Parameters:               
Slope     0.463
R-squared 0.285
F stat    2.997
P value   0.158

        Very Unlikely Unlikely  Likely    
        "Decrease"    "Trivial" "Increase"
MBI (%) "3"           "21"      "76"      

   MBI From Trend Line:

 Point   Diff    N  T  P              MBI
     1   -1.3   84 13  3   Possibly Lower
     2    0.7   17 27 56              ---
     3    0.5   21 29 50              ---
     4    0.8   15 24 61              ---
     5    0.6   19 29 52              ---
     6   -1.3   84 13  3   Possibly Lower

mbir documentation built on May 1, 2019, 10:11 p.m.