Skip to content

Commit c1f9844

Browse files
committed
support oohbchoice
1 parent 98f2f6a commit c1f9844

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: performance
33
Title: Assessment of Regression Models Performance
4-
Version: 0.12.4.16
4+
Version: 0.12.4.17
55
Authors@R:
66
c(person(given = "Daniel",
77
family = "Lüdecke",

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ S3method(r2,negbinirr)
407407
S3method(r2,negbinmfx)
408408
S3method(r2,nestedLogit)
409409
S3method(r2,ols)
410+
S3method(r2,oohbchoice)
410411
S3method(r2,phylolm)
411412
S3method(r2,plm)
412413
S3method(r2,poissonirr)

R/r2.R

+7
Original file line numberDiff line numberDiff line change
@@ -706,12 +706,19 @@ r2.fixest <- function(model, ...) {
706706
structure(class = "r2_generic", out)
707707
}
708708

709+
709710
#' @export
710711
r2.fixest_multi <- function(model, ...) {
711712
lapply(model, r2.fixest)
712713
}
713714

714715

716+
#' @export
717+
r2.oohbchoice <- function(model, ...) {
718+
NULL
719+
}
720+
721+
715722
#' @export
716723
r2.felm <- function(model, ...) {
717724
model_summary <- summary(model)

0 commit comments

Comments
 (0)