dbessel {bbreg}R Documentation

dbessel

Description

Function to calculate the probability density of the bessel distribution.

Usage

dbessel(z, mu, phi)

Arguments

z

scalar (0 < z < 1) for which the p.d.f. is to be evaluated.

mu

scalar representing the mean parameter.

phi

scalar representing the precision parameter.

Value

scalar expressing the value of the density at z.

See Also

simdata_bes, dbbtest, simdata_bet

Examples

z = seq(0.01, 0.99, 0.01); np = length(z);
density = rep(0, np)
for(i in 1:np){ density[i] = dbessel(z[i], 0.5, 1) }
plot(z, density, type = "l", lwd = 2, cex.lab = 2, cex.axis = 2)

[Package bbreg version 2.0.1 Index]