representation_as_function: Get a distribution's representation as a function

View source: R/representation_as_function.R

representation_as_functionR Documentation

Get a distribution's representation as a function

Description

Get a distribution's representation as a function

Usage

representation_as_function(distribution, representation)

Arguments

distribution

Distribution to extract a representation from.

representation

Character, such as "cdf". In general, a suffix to an eval_ function.

Value

A function with one argument (at) that's fed into the corresponding eval_ function.


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