Learn R Programming

algebraic.dist (version 0.9.1)

inv_cdf.chi_squared: Method for obtaining the inverse cdf (quantile function) of a chi_squared object.

Description

Method for obtaining the inverse cdf (quantile function) of a chi_squared object.

Usage

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

Value

A function that computes the quantile at probability p

Arguments

x

The chi_squared object

...

Additional arguments (not used)

Examples

Run this code
x <- chi_squared(5)
q <- inv_cdf(x)
q(0.5)
q(0.95)

Run the code above in your browser using DataLab