Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 30, 2023
1 parent 2215784 commit 5b439d7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
6 changes: 6 additions & 0 deletions R/check_residuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
#' See [`stats::ks.test()`] for details.
#' @param ... Passed down to [`stats::ks.test()`]
#'
#' @details Uniformity of residuals is checked using a Kolmogorov-Smirnov test.
#'
#' @seealso [`simulate_residuals()`]
#'
#' @return The p-value of the test statistics.
#'
#' @examplesIf require("DHARMa")
#' dat <- DHARMa::createData(sampleSize = 100, overdispersion = 0.5, family = poisson())
#' m <- glm(observedResponse ~ Environment1, family = poisson(), data = dat)
Expand Down
5 changes: 4 additions & 1 deletion R/simulate_residuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
#' @param iterations Number of simulations to run.
#' @param ... Arguments passed on to [`DHARMa::simulateResiduals()`].
#'
#' @return Simulated residuals.
#' @return Simulated residuals, which can be further processed with
#' [`check_residuals()`].
#'
#' @seealso [`check_residuals()`]
#'
#' @details Based on [`DHARMa::simulateResiduals()`]. See also `vignette("DHARMa")`.
#'
Expand Down
9 changes: 9 additions & 0 deletions man/check_residuals.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion man/simulate_residuals.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b439d7

Please sign in to comment.