R/da.R

Defines functions da

da = function(a, b, index) {
  matrix(apply(-1 * broadcast.subtraction(b, t(.fedirtClusterEnv$X)) * (.fedirtClusterEnv$rjk(a, b, index) - broadcast.multiplication(.fedirtClusterEnv$Pj(a, b), t(.fedirtClusterEnv$njk(a, b, index)))), c(1), sum))
}

Try the FedIRT package in your browser

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

FedIRT documentation built on Sept. 30, 2024, 9:34 a.m.