Skip to content

Commit

Permalink
update documentation for scaspci & scoreci to account for changes to …
Browse files Browse the repository at this point in the history
…bcf argument
  • Loading branch information
petelaud committed Feb 15, 2025
1 parent 3708413 commit 9efd1df
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ BugReports: https://github.com/petelaud/ratesci/issues
Depends:
R (>= 3.6.0)
Imports:
polynom
Suggests:
testthat
Encoding: UTF-8
Expand Down
4 changes: 4 additions & 0 deletions R/rateci.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#' data: "bin" = binomial (default), "poi" = Poisson.
#' @param level Number specifying confidence level (between 0 and 1, default
#' 0.95).
#' @param bcf Logical (default TRUE) indicating whether to apply bias correction
#' in the score denominator. Applicable to distrib = "bin" only.
#' @param bign Sample size N to be used in the calculation of bcf, if different
#' from n.
#' @param cc Number or logical (default FALSE) specifying (amount of) continuity
#' correction. Numeric value is taken as the gamma parameter in Laud 2017,
#' Appendix S2 (default 0.5 for 'conventional' correction if cc = TRUE).
Expand Down
1 change: 0 additions & 1 deletion R/scoreci.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#' in the score denominator. Applicable to distrib = "bin" only. (NB: bcf =
#' FALSE option is really only included for legacy validation against previous
#' published methods (i.e. Gart & Nam, Mee, or standard Chi-squared test).
#' Ignored for contrast = "p".
#' @param cc Number or logical (default FALSE) specifying (amount of) continuity
#' correction. Numeric value is taken as the gamma parameter in Laud 2017,
#' Appendix S2 (default 0.5 for 'conventional' correction if cc = TRUE).
Expand Down
17 changes: 16 additions & 1 deletion man/scaspci.Rd

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

3 changes: 1 addition & 2 deletions man/scoreci.Rd

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

0 comments on commit 9efd1df

Please sign in to comment.