give_kernel_name {BNPdensity} | R Documentation |
Gives the kernel name from the integer code
Description
This function is used in the print methods for MixNRMI1, MixNRMI2, MixNRMI1cens, MixNRMI2cens, and all the multMixNRMIx versions
Usage
give_kernel_name(distr.k)
Arguments
distr.k |
The distribution name for the kernel. Allowed names are "normal", "gamma", "beta", "double exponential", "lognormal" or their common abbreviations "norm", "exp", or an integer number identifying the mixture kernel: 1 = Normal; 2 = Gamma; 3 = Beta; 4 = Double Exponential; 5 = Lognormal. |
Value
A character with the name of the distribution used as the kernel
Examples
BNPdensity:::give_kernel_name(4)
[Package BNPdensity version 2023.3.8 Index]