give_kernel_name function

Gives the kernel name from the integer code

Gives the kernel name from the integer code

This function is used in the print methods for MixNRMI1, MixNRMI2, MixNRMI1cens, MixNRMI2cens, and all the multMixNRMIx versions

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.

Returns

A character with the name of the distribution used as the kernel

Examples

BNPdensity:::give_kernel_name(4)
  • Maintainer: Guillaume Kon Kam King
  • License: GPL (>= 2)
  • Last published: 2023-03-24

Useful links