Using for self-defined variables, I am receiving the following error when trying to run odds ratio analysis.
dat1 <- escalc(measure="OR", ai=a, bi=b, ci=c, di=d, data=dat.turnover)
warnings(dat1)
Warning messages: 1: In Ops.factor(ai, bi) : ‘+’ not meaningful for factors Error in cat(list(...), file, sep, fill, labels, append) : argument 2 (type 'list') cannot be handled by 'cat'
All the data I am using for a
, b
, c
, and d
are numeric.