Skip to content

Commit

Permalink
Improved the examples for labbe().
Browse files Browse the repository at this point in the history
  • Loading branch information
wviechtb committed Apr 18, 2024
1 parent 74a2be2 commit 2aed042
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: metafor
Version: 4.7-6
Date: 2024-04-17
Version: 4.7-7
Date: 2024-04-18
Title: Meta-Analysis Package for R
Authors@R: person(given = "Wolfgang", family = "Viechtbauer", role = c("aut","cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-3463-4063"))
Depends: R (>= 4.0.0), methods, Matrix, metadat, numDeriv
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# metafor 4.7-6 (2024-04-17)
# metafor 4.7-7 (2024-04-18)

- made optimizers `Rcgmin` and `Rvmmin` available again via the `optimx` package

Expand Down
2 changes: 1 addition & 1 deletion R/zzz.r
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.onAttach <- function(libname, pkgname) {

ver <- "4.7-6"
ver <- "4.7-7"

loadmsg <- paste0("\nLoading the 'metafor' package (version ", ver, "). For an\nintroduction to the package please type: help(metafor)\n")

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metafor: A Meta-Analysis Package for R
[![R build status](https://github.com/wviechtb/metafor/workflows/R-CMD-check/badge.svg)](https://github.com/wviechtb/metafor/actions)
[![Code Coverage](https://codecov.io/gh/wviechtb/metafor/branch/master/graph/badge.svg)](https://app.codecov.io/gh/wviechtb/metafor)
[![CRAN Version](https://www.r-pkg.org/badges/version/metafor)](https://cran.r-project.org/package=metafor)
[![devel Version](https://img.shields.io/badge/devel-4.7--6-brightgreen.svg)](https://www.metafor-project.org/doku.php/installation#development_version)
[![devel Version](https://img.shields.io/badge/devel-4.7--7-brightgreen.svg)](https://www.metafor-project.org/doku.php/installation#development_version)
[![Monthly Downloads](https://cranlogs.r-pkg.org/badges/metafor)](https://cranlogs.r-pkg.org/badges/metafor)
[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/metafor)](https://cranlogs.r-pkg.org/badges/grand-total/metafor)

Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.0.8
pkgdown_sha: ~
articles:
diagram: pkgdown/diagram.html
last_built: 2024-04-17T20:22Z
last_built: 2024-04-17T21:56Z
urls:
reference: https://wviechtb.github.io/metafor/reference
article: https://wviechtb.github.io/metafor/articles
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/formula.rma.html

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

Binary file modified docs/reference/labbe-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/reference/labbe.html

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

4 changes: 2 additions & 2 deletions docs/reference/reporter.html

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

7 changes: 5 additions & 2 deletions man/labbe.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg)
### default plot
labbe(res)

### plot with risk values on the x- and y-axis, a grid, and the CI region
labbe(res, transf=exp, grid=TRUE, ci=TRUE, bty="l")
### plot with risk values on the x- and y-axis and some further customization
labbe(res, transf=exp, grid=TRUE, ci=TRUE, bty="l", lty=c(1,2,0))
legend("topleft", inset=0.02, bg="white", pch=c(NA,NA,22), pt.cex=2.5, pt.lwd=0,
pt.bg="lightgray", lty=c(1,2,0), legend=c("Reference Line of No Effect",
"Line for the Estimated Effect", "95\% Confidence Interval"))
}
\keyword{hplot}

0 comments on commit 2aed042

Please sign in to comment.