tests/testthat/_snaps/bland-altman.md

s_bland_altman works with default settings

Code
  res
Output
  $df
         average difference
  1   0.14626178 -1.5454312
  2   0.48288981 -0.5984930
  3  -0.38053181 -0.9101936
  4  -0.19703545  3.5846325
  5   0.47466676 -0.2903180
  6  -0.43829856 -0.7643396
  7   0.16581677  0.6432246
  8  -0.36621383  2.2090771
  9   0.04881564  1.0539314
  10  0.05627658 -0.7233299
  11  1.43523036  0.1531016
  12  0.14352775  0.4926310
  13 -0.11678449 -1.0089122
  14 -1.13425246 -2.1608949
  15 -0.12606432  2.5019905
  16 -0.22996409  0.3700609
  17 -0.20524011  0.3780997
  18  0.44226140  1.0031496
  19  0.96062329 -0.2788042
  20  0.67853853 -0.1692744

  $difference_mean
  [1] 0.1969954

  $ci_mean
  [1] -0.3414723  0.7354631

  $difference_sd
  [1] 1.392664

  $difference_se
  [1] 0.3114091

  $upper_agreement_limit
  [1] 2.487724

  $lower_agreement_limit
  [1] -2.093733

  $agreement_limit_se
  [1] 0.5393764

  $upper_agreement_limit_ci
  [1] 1.555070 3.420377

  $lower_agreement_limit_ci
  [1] -3.026386 -1.161079

  $t_value
  [1] 1.729133

  $n
  [1] 20


Try the tern package in your browser

Any scripts or data that you put into this service are public.

tern documentation built on Sept. 24, 2024, 9:06 a.m.