R/summary.eiReg.R

Defines functions summary.eiReg

summary.eiReg <- function(object, ...){ 
  nidx <- apply(expand.grid(dimnames(object$coef)), 1, paste, collapse = ".")
  object$coef <- cbind(c(object$coef), c(object$se), 
                       c(object$coef)/c(object$se))
  colnames(object$coef) <- c("Estimate", "Std. Error", "t-stat")
  rownames(object$coef) <- nidx
  object
}

Try the eiPack package in your browser

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

eiPack documentation built on March 7, 2023, 7:04 p.m.