| plot_t_dist | R Documentation | 
Plot t-Distribution and Shaded p-Value
plot_t_dist(x, shade_p_value = TRUE)
x | 
 t.test() or t_test() object  | 
shade_p_value | 
 Logical value indicating whether to shade the area under the curve corresponding to the p-value. Default is TRUE.  | 
Plot of the t-distribution. If shade_p_value=TRUE, the area under the curve corresponding to the p-value will also be shaded.
my_t = t.test(cars$speed, mu = 16, alternative = "less")
plot_t_dist(my_t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.