Learn R Programming

RealSurvSim (version 1.0.0)

get_dist_names: Map Distribution Names for Density and Random Generation Functions

Description

This function maps a user-specified distribution name to a list containing the names of the corresponding density and random generation functions. If the distribution is not explicitly mapped, it assumes the standard naming convention by prepending "d" or "r" to the distribution name.

Usage

get_dist_names(distrib)

Value

A list with components d and r, which are character strings representing the names of the density and random generation functions, respectively.

Arguments

distrib

A character string specifying the distribution.

See Also

get_fitdist_name