give_kernel_name: Gives the kernel name from the integer code

View source: R/give_kernel_name.R

give_kernel_nameR 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)

BNPdensity documentation built on April 1, 2023, 12:10 a.m.