get_prefixed_dist_fn: Get a prefixed distribution function

View source: R/builder_functions.R

get_prefixed_dist_fnR Documentation

Get a prefixed distribution function

Description

Helper function to get, say, the function pnorm by passing "p" and "norm".

Usage

get_prefixed_dist_fn(prefix, dist_name)

Arguments

prefix

The prefix (generally one of p, q, r or d).

dist_name

The name of the distribution.

Value

The function corresponding to the prefix and distribution_name.

Examples

get_prefixed_dist_fn("p", "norm")

PaulMTeggin/practechniques documentation built on Aug. 19, 2023, 4:44 p.m.