[R-meta] Syntax of rma.mv for random part of the model
gabriele.midolo at gmail.com
Sat Nov 18 12:43:25 CET 2017
I am performing a meta-analysis similar to the example reported in
(2011) presented in metafor website
I am using the following structure for the random part (1 |
Experiment/nadd) where "nadd" represent the different levels of nutrient
applied in each experiments.
My reviewers also suggested me to account for the individual species
considered across studies.
I was therefore tryng to explore a model with this type of structure:
res<- rma.mv(yi,vi,random =~(1 |Experiment/nadd + 1|Species), data=dat)
But this give me some kind of error:
"Error in 1 | Species : operations are possible only for numeric, logical
or complex types"
which I believe it's a syntax error, am I right?
[[alternative HTML version deleted]]
More information about the R-sig-meta-analysis