R/G.R

Defines functions G

Documented in G

G<-
function(z, link) {
	if (link=="logit") {
			exp(z) / (1 + exp(z))
	} else if (link=="cloglog") {
			1-exp(-exp(z))
	}
}

Try the ordinalgmifs package in your browser

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

ordinalgmifs documentation built on May 31, 2023, 6:31 p.m.