R/LogLik.R

#' @export
logLik.gw <- function (object, ...){
  val <- object$loglik
  attr(val, "nobs") <- object$nobs
  attr(val, "df") <- length(object$coefficients)
  class(val) <- "logLik"
  val
}
ujaen-statistics/GWRM documentation built on July 18, 2021, 7:02 a.m.