R/lambdapert.R

lambda.pert <- function (lambda, pert) 
{
	temp = logit(lambda) + pert
	temp2 = inv.logit(temp)
	new.lambda = temp2/sum(temp2)
	new.lambda
}

Try the mixtools package in your browser

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

mixtools documentation built on Dec. 5, 2022, 5:23 p.m.