dist_name_k_index_converter: Convert distribution names to indices

View source: R/dist_name_k_converter.R

dist_name_k_index_converterR 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


konkam/BNPdensity documentation built on March 14, 2024, 7:15 a.m.