File: lambdapert.R

package info (click to toggle)
r-cran-mixtools 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,828 kB
  • ctags: 20
  • sloc: ansic: 733; makefile: 6
file content (7 lines) | stat: -rwxr-xr-x 141 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
lambda.pert <- function (lambda, pert) 
{
	temp = logit(lambda) + pert
	temp2 = inv.logit(temp)
	new.lambda = temp2/sum(temp2)
	new.lambda
}