R/coef.io.fi.R

Defines functions coef.io.fi

Documented in coef.io.fi

# see coef.ds for documentation
#' @export
coef.io.fi <-function(object,...){
  if(length(grep("gam",as.character(object$model)))==0){
    vcov <- solvecov(object$hessian)$inv
  }else{
    vcov <- object$hessian
  }

  coeff <- data.frame(estimate=coef(object$mr),
                      se=sqrt(diag(vcov)))

  return(coeff)
}

Try the mrds package in your browser

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

mrds documentation built on July 9, 2023, 6:06 p.m.