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(