quantity_parametric: Grab a quantity from the database

View source: R/quantities-parametric.R

quantity_parametricR Documentation

Grab a quantity from the database

Description

For a parametric distribution, evaluates a quantity (such as mean, median, range, ...) if the distribution has an entry in the .quantities database. For distributions without the "parametric" (sub-) class, quantity evaluation is delegated to the next higher level class.

Usage

quantity_parametric(distribution, quantity)

Arguments

distribution

A distribution.

quantity

Character; name of the quantity to extract.

Value

The desired quantity, evaluated.


vincenzocoia/distionary documentation built on March 5, 2024, 3:13 a.m.