Skip to content
Prev 5144 / 5636 Next

[R-meta] Calculation of p values in selmodel

Thank you! Unfortunately I still get the warning...
 Extra argument ('pval') disregarded.
...with every invocation of selmodel.

Here?s the line of code involving pval:
    result <- metafor::selmodel(x,  type="step", steps=(0.025), pval=meta_data$pValue)

It's reading the variable meta_data$pValue OK, because if I make it meta_data$junk, I get this:
There were 50 or more warnings (use warnings() to see the first 50)
Browse[1]> Q
Warning messages:
1: Unknown or uninitialised column: `junk`.
2: Extra argument ('pval') disregarded.
etc.

I closed R and reopened it, but still no joy. I had already restarted R prior to install.

-----Original Message-----
From: R-sig-meta-analysis <r-sig-meta-analysis-bounces at r-project.org> On Behalf Of Viechtbauer, Wolfgang (NP) via R-sig-meta-analysis
Sent: Thursday, March 21, 2024 11:34 AM
To: R Special Interest Group for Meta-Analysis <r-sig-meta-analysis at r-project.org>
Cc: Viechtbauer, Wolfgang (NP) <wolfgang.viechtbauer at maastrichtuniversity.nl>
Subject: Re: [R-meta] Calculation of p values in selmodel

See: https://www.metafor-project.org/doku.php/installation#development_version
_______________________________________________
R-sig-meta-analysis mailing list @ R-sig-meta-analysis at r-project.org To manage your subscription to this mailing list, go to:
https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis