R/logit1.R

Defines functions logit1

logit1 <- function(p,ref=1){
	
# compute logit with respect to category ref
	lp = log(p[-ref]/p[ref])
	out = list(lp=lp)
		
}

Try the LMest package in your browser

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

LMest documentation built on Aug. 27, 2023, 5:06 p.m.