From ef4ee08ea2f8c4d8a90635c70a7da15d92a443b4 Mon Sep 17 00:00:00 2001
From: Christian Roever <christian.roever@med.uni-goettingen.de>
Date: Mon, 20 Apr 2020 21:17:04 +0200
Subject: [PATCH] updated JStatSoft reference

---
 DESCRIPTION                 |  2 +-
 inst/CITATION               | 25 ++++++++++++++-----------
 man/bayesmeta-package.Rd    | 10 ++++------
 man/bayesmeta.Rd            |  8 +++-----
 man/dinvchi.Rd              |  2 +-
 man/forestplot.bayesmeta.Rd |  9 ++++-----
 man/forestplot.escalc.Rd    |  9 ++++-----
 man/normalmixture.Rd        |  6 ++----
 man/plot.bayesmeta.Rd       |  9 ++++-----
 man/pppvalue.Rd             |  6 ++----
 10 files changed, 39 insertions(+), 47 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index f6c43ac..e0f6feb 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -2,7 +2,7 @@ Package: bayesmeta
 Type: Package
 Title: Bayesian Random-Effects Meta-Analysis
 Version: 2.5
-Date: 2019-11-28
+Date: 2020-04-20
 Authors@R: c(person(given="Christian", family="Roever", role=c("aut","cre"), 
                     email="christian.roever@med.uni-goettingen.de",
                     comment=c(ORCID="0000-0002-6911-698X")),
diff --git a/inst/CITATION b/inst/CITATION
index b6a4000..1e1710e 100644
--- a/inst/CITATION
+++ b/inst/CITATION
@@ -1,11 +1,14 @@
-bibentry(bibtype     = "article",
-         title       = "Bayesian random-effects meta-analysis using the bayesmeta {R}~package",
-         author      = person("Christian", "R\"{o}ver"),
-         journal     = "arXiv preprint 1711.08683",
-         year        = 2017,
-         month       = 11,
-         url         = "http://www.arxiv.org/abs/1711.08683",
-         textVersion = paste("Christian Roever (2017).",
-                             "Bayesian random-effects meta-analysis using the bayesmeta R package.",
-                             "arXiv preprint 1711.08683,",
-                             "URL: http://www.arxiv.org/abs/1711.08683"))
+bibentry(bibtype = "article",
+         title   = "Bayesian random-effects meta-analysis using the {bayesmeta} {R}~package",
+         author  = person(given  = "Christian",
+                          family = "R\\\"{o}ver",
+                          email  = "christian.roever@med.uni-goettingen.de"),
+         journal = "Journal of Statistical Software",
+         year    = "2020",
+         month   = "apr",
+         volume  = "93",
+         number  = "6",
+         pages   = "1-51",
+         doi     = "10.18637/jss.v093.i06",
+
+         header  = "To cite bayesmeta in publications use:")
diff --git a/man/bayesmeta-package.Rd b/man/bayesmeta-package.Rd
index 8eebb45..5875269 100644
--- a/man/bayesmeta-package.Rd
+++ b/man/bayesmeta-package.Rd
@@ -17,7 +17,7 @@
     Package: \tab bayesmeta\cr
     Type:    \tab Package\cr
     Version: \tab 2.5\cr
-    Date:    \tab 2019-11-28\cr
+    Date:    \tab 2020-04-20\cr
     License: \tab GPL (>=2)
   }
   The main functionality is provided by the \code{\link{bayesmeta}()}
@@ -34,11 +34,9 @@ Christian Roever <christian.roever@med.uni-goettingen.de>
 }
 \references{
   C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
-
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
+  
   C. Roever.
   \emph{The bayesmeta app}.
   \url{http://ams.med.uni-goettingen.de:3838/bayesmeta/app},
diff --git a/man/bayesmeta.Rd b/man/bayesmeta.Rd
index 65da801..a038520 100644
--- a/man/bayesmeta.Rd
+++ b/man/bayesmeta.Rd
@@ -437,10 +437,8 @@
   }
 \references{
   C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
 
   C. Roever, T. Friede.
   \href{http://doi.org/10.1080/10618600.2016.1276840}{Discrete
@@ -502,7 +500,7 @@
   for one parameter of many}. \emph{Biometrika}, \bold{76}(3):604-608,
   1989.
 
-  W. Viechtbauer. \href{http://www.jstatsoft.org/v36/i03/}{Conducting
+  W. Viechtbauer. \href{http://www.doi.org/10.18637/jss.v036.i03}{Conducting
   meta-analyses in R with the metafor package}. \emph{Journal of
   Statistical Software}, \bold{36}(3):1-48, 2010.
 }
diff --git a/man/dinvchi.Rd b/man/dinvchi.Rd
index 6066625..2f8ddfc 100644
--- a/man/dinvchi.Rd
+++ b/man/dinvchi.Rd
@@ -75,7 +75,7 @@ chi2 <- rchisq(1000, df=10)
 # transform:
 invchi <- sqrt(1 / chi2)
 # show histogram:
-hist(invchi, probability=TRUE)
+hist(invchi, probability=TRUE, col="grey")
 # show density for comparison:
 x <- seq(0, 1, length=100)
 lines(x, dinvchi(x, df=10, scale=1), col="red")
diff --git a/man/forestplot.bayesmeta.Rd b/man/forestplot.bayesmeta.Rd
index f46f205..3c9bf3c 100644
--- a/man/forestplot.bayesmeta.Rd
+++ b/man/forestplot.bayesmeta.Rd
@@ -64,11 +64,10 @@
 \author{
   Christian Roever \email{christian.roever@med.uni-goettingen.de}
 }
-\references{C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+\references{
+  C. Roever.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
 
   C. Lewis and M. Clarke.
   Forest plots: trying to see the wood and the trees.
diff --git a/man/forestplot.escalc.Rd b/man/forestplot.escalc.Rd
index 16ae829..92076e1 100644
--- a/man/forestplot.escalc.Rd
+++ b/man/forestplot.escalc.Rd
@@ -51,11 +51,10 @@
 \author{
   Christian Roever \email{christian.roever@med.uni-goettingen.de}
 }
-\references{C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+\references{
+  C. Roever.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
 
   C. Lewis and M. Clarke.
   Forest plots: trying to see the wood and the trees.
diff --git a/man/normalmixture.Rd b/man/normalmixture.Rd
index 533c1f7..3e4304f 100644
--- a/man/normalmixture.Rd
+++ b/man/normalmixture.Rd
@@ -115,10 +115,8 @@
   \bold{26}(1):217-222, 2017.
 
   C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
   
   W.E. Seidel. Mixture models.
   In M. Lovric (ed.) \emph{International Encyclopedia of Statistical
diff --git a/man/plot.bayesmeta.Rd b/man/plot.bayesmeta.Rd
index beb2a02..e44237b 100644
--- a/man/plot.bayesmeta.Rd
+++ b/man/plot.bayesmeta.Rd
@@ -101,11 +101,10 @@
 \author{
   Christian Roever \email{christian.roever@med.uni-goettingen.de}
 }
-\references{C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+\references{
+  C. Roever.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
   
   C. Guddat, U. Grouven, R. Bender and G. Skipka.
   \href{http://doi.org/10.1186/2046-4053-1-34}{A note on the
diff --git a/man/pppvalue.Rd b/man/pppvalue.Rd
index 1c0065a..ecdc6ed 100644
--- a/man/pppvalue.Rd
+++ b/man/pppvalue.Rd
@@ -192,10 +192,8 @@
   Chapman & Hall / CRC, Boca Raton, 2014.
   
   C. Roever.
-  Bayesian random-effects meta-analysis using the bayesmeta R package.
-  \emph{\href{http://arxiv.org/abs/1711.08683}{arXiv preprint 1711.08683}}
-  (submitted for publication),
-  2017.
+  \href{http://www.doi.org/10.18637/jss.v093.i06}{Bayesian random-effects meta-analysis using the bayesmeta R package}.
+  \emph{Journal of Statistical Software}, \bold{93}(6):1-51, 2020.
 }
 \author{
   Christian Roever \email{christian.roever@med.uni-goettingen.de}
-- 
GitLab