Learn R Programming

algebraic.dist (version 0.9.1)

density.chi_squared: Method for obtaining the density (pdf) of a chi_squared object.

Description

Method for obtaining the density (pdf) of a chi_squared object.

Usage

# S3 method for chi_squared
density(x, ...)

Value

A function that computes the pdf at point(s) t

Arguments

x

The chi_squared object

...

Additional arguments (not used)

Examples

Run this code
x <- chi_squared(5)
f <- density(x)
f(5)
f(10)

Run the code above in your browser using DataLab