From ae4fef8ed92d8fee06c234af973129c0face8951 Mon Sep 17 00:00:00 2001 From: Paul Northrop Date: Thu, 6 Feb 2025 09:54:12 +0000 Subject: [PATCH] https://github.com/paulnorthrop/bang/issues/3 --- DESCRIPTION | 4 ++-- NEWS.md | 6 ++++++ R/bang-package.R | 3 ++- man/rat.Rd | 3 ++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c45f311..0f3f758 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: bang Title: Bayesian Analysis, No Gibbs -Version: 1.0.4 -Date: 2024-07-17 +Version: 1.0.4.9000 +Date: 2025-02-06 Authors@R: c(person(c("Paul", "J."), "Northrop", email = "p.northrop@ucl.ac.uk", role = c("aut", "cre", "cph")), person(c("Benjamin", "D."), "Hall", email = "benjamin.hall.16@ucl.ac.uk", diff --git a/NEWS.md b/NEWS.md index 085aa20..2415b27 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# bang 1.0.4.9000 + +## Bug fixes and minor improvements + +* Corrected the description the `rat` data in its help file. Thank you to Léo Belzile for spotting this. [Issue 3](https://github.com/paulnorthrop/bang/issues/3#issue-2833715433) + # bang 1.0.4 ## Bug fixes and minor improvements diff --git a/R/bang-package.R b/R/bang-package.R index 722db74..740a4a6 100644 --- a/R/bang-package.R +++ b/R/bang-package.R @@ -49,7 +49,8 @@ #' Rat tumor data #' -#' Tumor incidence in 71 groups of rate from Tarone (1982). +#' Tumor incidence in 71 groups of rats: 70 groups from Tarone (1982) and an +#' additional group (the last one) from Table 5.1 of Gelman at al (2014). #' The matrix \code{rat} has 71 rows and 2 columns. #' Each row relates to a different group of rats. #' The first column (\code{y}) contains the number of rats with tumors. diff --git a/man/rat.Rd b/man/rat.Rd index c518729..62c2a69 100644 --- a/man/rat.Rd +++ b/man/rat.Rd @@ -17,7 +17,8 @@ Table 5.1 of Gelman, A., Carlin, J. B., Stern, H. S. Dunson, D. B., rat } \description{ -Tumor incidence in 71 groups of rate from Tarone (1982). +Tumor incidence in 71 groups of rats: 70 groups from Tarone (1982) and an +additional group (the last one) from Table 5.1 of Gelman at al (2014). The matrix \code{rat} has 71 rows and 2 columns. Each row relates to a different group of rats. The first column (\code{y}) contains the number of rats with tumors.