View source: R/t_statistic_plot.R
plot_t_test | R Documentation |
Non-interactive visualization function that plots null and alternative t distributions of a t-test. Shows rejection zone and power as areas under the curves.
plot_t_test()
diff |
The test difference (defaults to 0.5). |
sd |
Population standard deviation (defaults to 4). |
n |
Sample size (defaults to 100). |
alpha |
Significance level (defaults to 0.05). |
error_matrix |
Whether to display type I/II error matrix (defaults to FALSE). |
interactive_t_test
plot_t_test() plot_t_test(diff=-0.1, sd=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.