Learn R Programming

RealSurvSim (version 1.0.0)

get_fitdist_name: Map Distribution Name for Fitting

Description

This function maps a user-specified distribution name to the appropriate name used for parameter estimation with fitdist() from the fitdistrplus package.

Usage

get_fitdist_name(distrib)

Value

A character string representing the distribution name as expected by fitdist().

Arguments

distrib

A character string specifying the distribution (e.g., "poisson", "exp", "gumbel").

See Also

get_dist_names