TOST Two Proportions
datatosttwoprop(data, var, level, group, low_eqbound = -0.1,
high_eqbound = 0.1, alpha = 0.05, desc = FALSE, plot = FALSE)
.
.
.
.
a number (default: -0.1) the lower equivalence bounds
a number (default: 0.1) the upper equivalence bounds
alpha level (default = 0.05)
TRUE
or FALSE
(default), provide descriptive
statistics
TRUE
or FALSE
(default), provide plot
A results object containing:
results$tost |
a table | ||||
results$eqb |
a table | ||||
results$desc |
a table | ||||
results$plot |
an image |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$tost$asDF
as.data.frame(results$tost)