R/invlinkfn.R

"invlinkfn" <-
function(x, family, ...){
args <- list(...)
switch( family,
"identity"=x,
"log"=log(x),
"logit"=log(x/(1-x))       ,
"hyper"=1/x-1 
)       

}

Try the mreg package in your browser

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

mreg documentation built on Oct. 26, 2023, 5:07 p.m.