This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/NChisquare.html
NChisquare {base}R Documentation

The Non-Central Chi-Square Distribution

Description

These functions provide information about the non-central chi-square distribution with df degrees of freedom and non-centrality parameter lambda. dnchisq gives the density, pnchisq gives the distribution function, qnchisq gives the quantile function and rnchisq generates random deviates.

The non-central chi-square distribution with df degrees of freedom and non-centrality parameter \lambda has density

f(x) = e^{-\lambda / 2} \sum_{r=0}^\infty \frac{\lambda^r}{2^r r!} \, \mathrm{pchisq}(x, df + 2r)

for x \ge 0.

Usage

dnchisq(x, df, lambda)
pnchisq(q, df, lambda)
qnchisq(p, df, lambda)
rnchisq(n, df, lambda)

See Also

dchisq, dgamma.

Examples

pnchisq(1, df = 3, lambda = 0) == pchisq(1, df = 3)
pnchisq(1, df = 3, lambda = 0:4)

[Package base version 0.60 ]