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])
}

Try the RCM package in your browser

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

RCM documentation built on Nov. 8, 2020, 5:22 p.m.