TOST Correlation
dataTOSTr(data, pairs, low_eqbound_r = -0.3, high_eqbound_r = 0.3,
alpha = 0.05, desc = FALSE, plots = FALSE)
the data as a data frame
a list of vectors of strings naming variables to correlate
from data
lower equivalence bounds (e.g., -0.3) expressed in a correlation effect size
upper equivalence bounds (e.g., 0.3) expressed in a correlation effect size
alpha level (default = 0.05)
TRUE
or FALSE
(default), provide descriptive
statistics
TRUE
or FALSE
(default), provide plots
A results object containing:
results$tost |
a table | ||||
results$eqb |
a table | ||||
results$desc |
a table | ||||
results$plots |
an array of images |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$tost$asDF
as.data.frame(results$tost)