R/ghq.R

Defines functions ghq

Documented in ghq

ghq <- function(n.points = 1, modified = TRUE){
    weights <- numeric(n.points)
    zeros <- numeric(n.points)
    res <- .Fortran("ghq",
                    as.integer(n.points),
                    zeros = as.double(zeros),
                    weights = as.double(weights),
                    as.logical(modified),
                    PACKAGE = "glmmML")
    list(weights = res$weights, zeros = res$zeros)
}

Try the glmmML package in your browser

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

glmmML documentation built on Sept. 21, 2024, 1:07 a.m.