R/SRI.R

Defines functions SRI

Documented in SRI

SRI <-
function(x,Ya,Yb,Yab){
	estimate<-x/(Ya+Yb+Yab+x)
	se<-sqrt(estimate*(1-estimate)/(Yab+Ya+Yb+x))
	return(c(estimate,se))
}

Try the assocInd package in your browser

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

assocInd documentation built on May 2, 2019, 11:42 a.m.