R.QCHISQ(p,df,lower_tail,log_p)
p: probability
df: the number of degrees of freedom of the distribution
lower_tail: if true (the default), the lower tail of the distribution is considered
log_p: if true, log of the probability is used
This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the chi-square distribution.
A two argument invocation R.QCHISQ(p,df) is exported to OpenFormula as CHISQINV(p,df).