Learn R Programming

ADtools (version 0.5.4)

dchisq0: The density of the chi-squared distribution

Description

The density of the chi-squared distribution

Usage

dchisq0(x, df, log = FALSE)

Arguments

x

vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.

df

degrees of freedom (> 0, maybe non-integer).

log

logical; if TRUE, returns the log value.

Examples

Run this code
# NOT RUN {
n <- 10
x <- rchisq0(n, df = 3)
dchisq0(x, df = 3)

# }

Run the code above in your browser using DataLab