Description Usage Arguments See Also Examples
View source: R/vdist-chisquare.R
Visualize how changes in degrees of freedom affect the shape of the chi square distribution. Compute & visualize quantiles out of given probability and probability from a given quantile.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | vdist_chisquare_plot(
df = 3,
normal = FALSE,
xaxis_range = 25,
print_plot = TRUE
)
vdist_chisquare_perc(
probs = 0.95,
df = 3,
type = c("lower", "upper"),
print_plot = TRUE
)
vdist_chisquare_prob(
perc = 13,
df = 11,
type = c("lower", "upper"),
print_plot = TRUE
)
|
df |
Degrees of freedom. |
normal |
If |
xaxis_range |
The upper range of the X axis. |
print_plot |
logical; if |
probs |
Probability value. |
type |
Lower tail or upper tail. |
perc |
Quantile value. |
1 2 3 4 5 6 7 8 9 10 11 12 | # visualize chi square distribution
vdist_chisquare_plot()
vdist_chisquare_plot(df = 5)
vdist_chisquare_plot(df = 5, normal = TRUE)
# visualize quantiles out of given probability
vdist_chisquare_perc(0.165, 8, 'lower')
vdist_chisquare_perc(0.22, 13, 'upper')
# visualize probability from a given quantile.
vdist_chisquare_prob(13.58, 11, 'lower')
vdist_chisquare_prob(15.72, 13, 'upper')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.