R/NDistDens.R

Defines functions NDistDens

Documented in NDistDens

NDistDens<-function(x, dist, p1, p2)
{
  switch(dist,
         normixt = dnorMix(x,  p1),
         exponential = dexp(x, p1),
         lnorm = dlnorm(x,  p1, p2),
         weibull = dweibull(x, p1, p2),
         normal = dnorm(x, p1, p2)
  )
}

Try the L2DensityGoFtest package in your browser

Any scripts or data that you put into this service are public.

L2DensityGoFtest documentation built on Feb. 16, 2023, 9:24 p.m.