R/summary.fitpot.R

summary.fitpot <- function (object, ...) 
{
  call <- attr(object, "Call")
  coef.p <- object$coeff
  s.err <- c(attr(object, "evi.sd"), attr(object, "psi.sd"), NA, NA)
  dn <- c("Estimate", "Std. Error")
  coef.table <- cbind(coef.p, s.err)
  dimnames(coef.table) <- list(names(coef.p), dn)
  ans <- list(coefficients = coef.table, call=call)
  
  class(ans) <- "summary.fitpot"
  return(ans)
}

Try the ercv package in your browser

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

ercv documentation built on Oct. 30, 2019, 9:49 a.m.