Skip to contents

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.