R/prepareScoreMat.R

Defines functions prepareScoreMat

Documented in prepareScoreMat

#' Prepare a helper matrix for score function evaluation under quasi-likelihood
#'
#' @inheritParams prepareJacMat
#'
#' @return The helper matrix
prepareScoreMat = function(data, mu, meanVarTrend, CompMat, libSizes){
    (data - mu)*mu/meanVarTrend(c(CompMat), libSizes = libSizes)
}
CenterForStatistics-UGent/combi documentation built on Aug. 22, 2023, 11:02 p.m.