From 05995371e47663d50a50814df84d06461e14f1af Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 1 Sep 2024 00:51:34 +0200 Subject: [PATCH] fix --- NAMESPACE | 1 + R/get_statistic.R | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 5abdea938..ee48a9f83 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -912,6 +912,7 @@ S3method(get_statistic,negbinmfx) S3method(get_statistic,nestedLogit) S3method(get_statistic,nlrq) S3method(get_statistic,ols) +S3method(get_statistic,ordinal_weightit) S3method(get_statistic,orm) S3method(get_statistic,pgmm) S3method(get_statistic,plm) diff --git a/R/get_statistic.R b/R/get_statistic.R index bef8a94f9..ae9e2e600 100644 --- a/R/get_statistic.R +++ b/R/get_statistic.R @@ -795,6 +795,14 @@ get_statistic.clm2 <- function(x, component = "all", ...) { get_statistic.clmm2 <- get_statistic.clm2 +#' @export +get_statistic.ordinal_weightit <- function(x, ...) { + out <- get_statistic.default(x, ...) + out$Component <- "conditional" + out +} + + #' @export get_statistic.mvord <- function(x, component = "all", ...) { component <- match.arg(