Displaying 1 result from an estimated 1 matches for "nerl".
Did you mean:
neil
2001 Sep 06
0
Erlang Loss Function in R
...parameters. (Also, I'll change the name from elf() to erlb(),
because this function is sometimes called "Erlang's B function", and because
'elf' is an abbreviation in frequent use with a different meaning in the
Unix world.) Here is the code:
erlb<- function(nsrv, nerl, log=FALSE)
{
# Returns Erlang-B blockage for nsrv servers and nerl erlangs of traffic.
# If log=TRUE, then logarithm of the blockage is returned. Works for all
# nsrv>=0 and all nerl>=0. Both nsrv and nerl can be non-integers.
lnerlb<-
dgamma(nerl, shape=nsrv+1, scale=1, lo...