R/InvLinkY.R

Defines functions InvLinkY

InvLinkY <-
function(eta,Link){
        if (Link=="Inverse")    mu<--(1/eta)
        if (Link=="Log")        mu<-exp(eta)
        if (Link=="Identity")   mu<-eta
        if (Link=="Logit")      mu<-exp(eta)/(1+exp(eta))
        if (Link=="Probit")     mu<-pnorm(eta)
        if (Link=="CLogLog")    mu<-1-exp(-exp(eta))
        mu
    }

Try the hsem package in your browser

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

hsem documentation built on Nov. 12, 2021, 5:07 p.m.