R/gfunc.R

Defines functions gfunc

Documented in gfunc

gfunc <- function(mu, family, epsbino){
    n <- length(mu)
     .Fortran("gfunc",
              mu=as.double(mu),
              n=as.integer(n),
              family=as.integer(family),
              epsbino=as.double(epsbino),
              eta=as.double(rep(0, n)),
              PACKAGE="mpath")$eta
}

Try the mpath package in your browser

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

mpath documentation built on Jan. 7, 2023, 1:17 a.m.