Nothing
######## S-function: inv.link ########
# For computing the inverse link function
# for different families of distribution
# Currently supported families are :
# Bernoulli
# Poisson
# Gaussian
# Last changed: 07/15/98
inv.link <- function(x,family)
{
if ( family == "binomial")
return(1/(1+exp(-x)))
if ( family == "poisson")
return(exp(x))
if ( family == "gaussian")
return(x)
}
########## End of inv.link ##########
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.