dbessel: dbessel

Description Usage Arguments Value See Also Examples

View source: R/EM_Bes.R

Description

Function to calculate the probability density of the bessel distribution.

Usage

1
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

1
2
3
4
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)

bbreg documentation built on Jan. 13, 2021, 8:13 p.m.