File: summary.eiReg.R

package info (click to toggle)
r-cran-eipack 0.2-2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 476 kB
  • sloc: ansic: 1,155; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
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
}