View source: R/norm_density_plot.R
plot_t_tails | R Documentation |
Plot a t distribution with one or both tails shaded
plot_t_tails( lower_tail = 0.025, upper_tail = 0.925, df_sample = 30, ncp_sample = 0, xmin = NULL, xmax = NULL, len = 1000, fill_lower = rgb(0, 0.3, 0.8, 0.25), fill_middle = rgb(0, 0, 0, 0), fill_upper = rgb(0, 0.3, 0.8, 0.25), y_lab = "f(x)", x_lab = "x" )
lower_tail |
lower tail to plot |
upper_tail |
upper tail to plot |
df_sample |
sample degrees of freedom |
ncp_sample |
non-centrality parameter |
xmin |
lower limit of x values to include |
xmax |
upper limit of x values to include |
len |
how many points to generate? |
fill_lower |
fill color for the lower tail |
fill_middle |
fill color for the non-tail part of the pdf |
fill_upper |
fill color for the upper tail |
y_lab |
label for x axis |
x_lab |
label for y axis |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.