R/buildMuMargins.R

Defines functions buildMuMargins

Documented in buildMuMargins

#' Build the marginal mu matrix
#'
#' @param x The marginal parameters begin estimated
#' @param otherMargin The parameters of the other margin
#' @param col A logical, are the column parameters being estimated?
#'
#' @return a matrix of means
buildMuMargins = function(x, otherMargin, col){
    if(col) outer(otherMargin, x, "+") else outer(x, otherMargin, "+")
}
CenterForStatistics-UGent/compIntegrate documentation built on Aug. 4, 2023, 1:08 p.m.