R/residuals.bayescomm.R

residuals.bayescomm <-
function (object, ...) {
  object$call$Y - apply(pnorm(object$trace$z), c(2, 3), mean)
}

Try the BayesComm package in your browser

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

BayesComm documentation built on May 2, 2019, 1:43 p.m.