R/F_getInflCol.R

Defines functions getInflCol

Documented in getInflCol

#' A function to extract the influence for a given parameter index
#'
#' @param score a score matrix
#' @param InvJac The inverted jacobian
#' @param taxon The taxon name or index
#'
#' @return A matrix with all observations' influence on the given taxon
getInflCol = function(score, InvJac, taxon) {
    rowMultiply(score * InvJac[, taxon])
}
CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.