Learn R Programming

FARS (version 0.7.1)

get_distribution.fars_density: Extract Distribution from a fars_density Object

Description

Extracts the distribution from a fars_density object.

Usage

# S3 method for fars_density
get_distribution(object, ...)

Value

A matrix containing the random draws from the fitted skew-t distribution if available, otherwise NULL.

Arguments

object

An object of class fars_density.

...

Further arguments (ignored).

Examples

Run this code
# \donttest{
fars_density_result <- compute_density(quantiles = matrix(rnorm(100 * 5), nrow = 100, ncol = 5))
get_distribution(fars_density_result)
# }

Run the code above in your browser using DataLab