R/F_getInflRow.R

Defines functions getInflRow

Documented in getInflRow

#' Extract the influence of all observations on a given row score
#'
#' @param score the score function evaluated for every observation
#' @param InvJac The inverse jacobian
#' @param sample the row score or  sample index
#'
#' @return A matrix with all observations' influence on the row score
getInflRow = function(score, InvJac, sample) {
    score * InvJac[, sample]
}

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.