R/getInflLatentVar.R

Defines functions getInflLatentVar

Documented in getInflLatentVar

#' Extract the influence on the estimation of the latent variable
#' @param score The score matrix
#' @param InvJac The inverse Jacobian
#' @param i the sample index
#'
#' @return The influence of all observations on the i-th latent variable
getInflLatentVar = function(score, InvJac, i){
    score*InvJac[,i]
}

Try the combi package in your browser

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

combi documentation built on Nov. 8, 2020, 5:34 p.m.