R/estfun.R

Defines functions estfun.default

#' @export
estfun.default <- function(x, loglik_fn, ...) {
  U <- numDeriv::jacobian(loglik_fn, x = coef(x), ...)
  colnames(U) <- names(coef(x))
  return(U)
}
RuoqingYin/oolax documentation built on May 28, 2019, 12:20 p.m.