library(SKTools)
test.example <-
ttest_all(mtcars, c(carb, mpg), c(cyl, drat), perc = .2) %>%
dplyr::filter(.data$IV == "mpg", .data$DV == "cyl", .data$Cutoff.Perc == "45%") %>%
dplyr::pull(.data$conf.high) %>%
round(6)
test_that("ttest_all has predictable result for mtcars", {
expect_equal(
test.example,
3.506439
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.