For each element of x, compute the quantile (the inverse of the CDF) at x of the chi-square distribution with n degrees of freedom.
Package: statistics