View source: R/conduct_t_test.R
conduct_t_test | R Documentation |
This function conducts a t-test, exports the results, exports what a user would need to type into R to get the same result, and produces a visualization.
conduct_t_test(t, df, type)
t |
the t-statistic you are testing |
df |
the degrees of freedom in your sample |
type |
the type of test. Options are 'less', 'greater', and 'both' |
> conduct_t_test(3,10,"greater")
$prob
[1] 0.006671828
$p_value_type
[1] "1-pt(3,10)"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.