diff --git a/NAMESPACE b/NAMESPACE index 3e933bb..652bad9 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -108,3 +108,4 @@ importFrom(datawizard,weighted_sd) importFrom(insight,link_inverse) importFrom(performance,mse) importFrom(performance,rmse) +importFrom(stats,family) diff --git a/R/S3-methods.R b/R/S3-methods.R index cff58b4..568d22a 100644 --- a/R/S3-methods.R +++ b/R/S3-methods.R @@ -103,6 +103,7 @@ model.frame.svyglm.zip <- function(formula, ...) { } +#' @importFrom stats family #' @export family.svyglm.nb <- function(object, ...) { attr(object, "family", exact = TRUE)