qchisq() function in R Language is used to compute value of chi square quantile function. It creates a quantile function plot for chi square distribution.
Syntax: qchisq(vec, df)
Parameters:
vec: Vector of x-values
df: Degree of Freedom
Example 1:
# R program to compute # Quantile Chi Square density # Create a vector of x-values x <- seq(0, 1, by = 0.1) # Calling qchisq() Function y <- qchisq(x, df = 5) y |
chevron_right
filter_none
Output:
[1] 0.000000 1.610308 2.342534 2.999908 3.655500 4.351460 5.131867 6.064430 [9] 7.289276 9.236357 Inf
Example 2:
# R program to compute # Quantile Chi Square density # Create a vector of x-values x <- seq(0, 1, by = 0.02) # Calling qchisq() Function y <- qchisq(x, df = 5) # Plot a graph plot(y) |
chevron_right
filter_none
Output:

Recommended Posts:
- Compute Chi Square Density in R Programming - dchisq() Function
- Compute Cumulative Chi Square Density in R Programming - pchisq() Function
- Compute Randomly Drawn Chi Square Density in R Programming - rchisq() Function
- Draw a Quantile-Quantile Plot in R Programming - qqline() Function
- Compute the value of Cauchy Quantile Function in R Programming - qcauchy() Function
- Compute value of Logistic Quantile Function in R Programming - qlogis() Function
- Compute value of Log Normal Quantile Function in R Programming - qlnorm() Function
- Compute the Value of Poisson Quantile Function in R Programming - qpois() Function
- Compute the Value of Negative Binomial Quantile Function in R Programming - qnbinom() Function
- Compute the value of Quantile Function over F Distribution in R Programming - qf() Function
- Compute the Value of Quantile Function over Weibull Distribution in R Programming - qweibull() Function
- Compute the value of Quantile Function over Studentized Distribution in R Programming - qtukey() Function
- Compute the value of Quantile Function over Wilcoxon Signedrank Distribution in R Programming - qsignrank() Function
- Compute the value of Quantile Function over Wilcoxon Rank Sum Distribution in R Programming – qwilcox() Function
- Compute the Value of Geometric Quantile Function in R Programming - qgeom() Function
- Compute the Value of Quantile Function over Uniform Distribution in R Programming - qunif() Function
- Getting Kernel Density Estimates in R Programming - density() Function
- Compute the Value of Poisson Density in R Programming - dpois() Function
- Compute the Value of F Density in R Programming - df() Function
- Compute the Value of Weibull Density in R Programming - dweibull() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

