dist_name_k_index_converter {BNPdensity}R Documentation

Convert distribution names to indices

Description

Convert distribution names to indices

Usage

dist_name_k_index_converter(distname)

Arguments

distname

a character representing the distribution name. Allowed names are "normal", "gamma", "beta", "exponential", "double exponential", "lognormal", "half-Cauchy", "half-normal", "half-student", "uniform" and "truncated normal", or their common abbreviations "norm", "exp", "lnorm", "halfcauchy", "halfnorm", "halft" and "unif".

Value

an index describing the distribution. 1 = Normal; 2 = Gamma; 3 = Beta; 4 = Double Exponential; 5 = Lognormal, 6 = Half-Cauchy, 7 = Half-normal, 8 = Half-Student, 9 = Uniform, 10 = Truncated normal


[Package BNPdensity version 2023.3.8 Index]