Skip to content

Commit

Permalink
version, description
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 29, 2024
1 parent 88849be commit 5490656
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: performance
Title: Assessment of Regression Models Performance
Version: 0.11.0.2
Version: 0.11.0.3
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ S3method(check_overdispersion,performance_simres)
S3method(check_overdispersion,poissonirr)
S3method(check_overdispersion,poissonmfx)
S3method(check_predictions,BFBayesFactor)
S3method(check_predictions,brmsfit)
S3method(check_predictions,default)
S3method(check_predictions,lme)
S3method(check_predictions,stanreg)
S3method(check_residuals,DHARMa)
S3method(check_residuals,default)
S3method(check_residuals,performance_simres)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

* `check_model()` gets a `base_size` argument, to set the base font size for plots.

* `check_predictions()` for `stanreg` and `brmsfit` models now returns plots in
the usual style as for other models and no longer returns plots from
`bayesplot::pp_check()`.

# performance 0.11.0

## New supported models
Expand Down
5 changes: 5 additions & 0 deletions R/check_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ check_predictions.default <- function(object,
)
}


#' @export
check_predictions.stanreg <- function(object,
iterations = 50,
Expand Down Expand Up @@ -194,6 +195,10 @@ check_predictions.stanreg <- function(object,
out
}

#' @export
check_predictions.brmsfit <- check_predictions.stanreg


#' @export
check_predictions.BFBayesFactor <- function(object,
iterations = 50,
Expand Down

0 comments on commit 5490656

Please sign in to comment.