Print t-Test Results
t_results(x)Printed output of the t-test results including test type, hypotheses, t-value, df, and p-value.
my_t = t.test(cars$speed, mu = 16, alternative = "less")
t_results(my_t)
#>
#> --------------------------------------------------
#> One Sample t-test
#> --------------------------------------------------
#>
#> H[0]: mu = 16
#> H[A]: mu < 16
#>
#> t(49) = -0.8023688
#> p = 0.2131071
#>
#> --------------------------------------------------