expit function
transform x either via the logit, or expit.
x
expit_cpp(x)
a numeric vector
Useful links