R/buildMarginalOffset.R

Defines functions buildMarginalOffset

Documented in buildMarginalOffset

#' Build an offset matrix from an marginal model object
#'
#' @param indepModel The fitted marginal model, a list
#' @param invLink The inverse link function
#'
#' @return an offset matrix of the size of the data
buildMarginalOffset = function(indepModel, invLink){
    invLink(outer(indepModel$rowOff, indepModel$colOff, "+"))
}
CenterForStatistics-UGent/compIntegrate documentation built on Aug. 4, 2023, 1:08 p.m.