tests/dnchisq-tst.R

library(DPQ)

set.seed(1)
for(x in rlnorm(500))
    stopifnot(all.equal(dnchisqR(x,10, 2),
                        dchisq  (x,10, 2), tol=1e-7))

Try the DPQ package in your browser

Any scripts or data that you put into this service are public.

DPQ documentation built on Dec. 5, 2023, 3:05 a.m.