Skip to content

Meta-analysis of single proportions - number of events / non-events missing in rma.uni object #39

@guido-s

Description

@guido-s

Classification

Feature Request

Summary

Hi Wolfgang,

It looks like the number of events 'xi' and non-events 'mi' are not part of an rma.uni object (look for 666 in output of the two examples).

I guess the same is true for 'ti' and 'ri' in the meta-analysis of single rates or single correlations.

BTW, is there any difference between list elements 'ni' and 'ni.f'?

Best wishes,
Guido

Reproducible Example

str(rma.uni(xi = 666 + 0:1, ni = 2 * 666 + c(0, 2), measure = "PR"))
str(rma.uni(xi = 666 + 0:1, mi = 666 + 0:1, measure = "PR"))

sessionInfo()

Post output of sessionInfo() below:

R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] metafor_2.5-69 Matrix_1.2-18

loaded via a namespace (and not attached):
[1] compiler_4.0.3  mathjaxr_1.0-1  nlme_3.1-150    grid_4.0.3
[5] lattice_0.20-41

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurefeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions