R/vcov.seqg.R

Defines functions vcov.seqg

#' @export
vcov.seqg <- function(object, ...) {
  out.vcov <- matrix(NA, ncol(object$X), ncol(object$X))
  dimnames(out.vcov) <- list(names(object$coefficients),
                             names(object$coefficients))
  R <- summary(object)$vcov
  out.vcov[!object$aliased, !object$aliased] <- R
  out.vcov
}

Try the DirectEffects package in your browser

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

DirectEffects documentation built on Oct. 4, 2024, 5:07 p.m.