[R-meta] how to get vcalc from metafor
Hi Wolfgang,
I realised I already had the remotes package installed,
and when I ran the second line
remotes::install_github("wviechtb/metafor")
on its own it worked.
Thank you !
Best wishes,
Norman.
De: "Wolfgang Viechtbauer, SP" <wolfgang.viechtbauer at maastrichtuniversity.nl>
?: "Norman DAURELLE" <norman.daurelle at agroparistech.fr>, "r-sig-meta-analysis" <r-sig-meta-analysis at r-project.org>
Envoy?: Mardi 16 Novembre 2021 15:37:51
Objet: RE: [R-meta] how to get vcalc from metafor
Hi Normand,
vcalc() is currently only part of the devel version of metafor, so you indeed would need to do:
install.packages("remotes")
remotes::install_github("wviechtb/metafor")
Best to do this in a fresh R session. If it doesn't work, then you will have to be more concrete as to the error messages you get when trying this.
Best,
Wolfgang
-----Original Message-----
From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On
Behalf Of Norman DAURELLE
Sent: Tuesday, 16 November, 2021 13:37
To: r-sig-meta-analysis
Subject: [R-meta] how to get vcalc from metafor
Dear list members,
I recently read a thread in which the vcalc() function from metafor was mentioned
and I tried to use it, but Rstudio tells me it can't find the vcalc function.
I tried re-installing metafor through the "install" button and then i used the
following lines
install.packages("remotes")
remotes::install_github("wviechtb/metafor")
but neither method made it work.
Any advice please ?
Best wishes,
Norman.