[R-meta] mods~factor

angelo solarino @nge|o@o|@r|no @end|ng |rom gm@||@com
Tue Jun 29 12:20:36 CEST 2021


I am having some trouble with the "factor" command in metafor.
I am not able to get the split for the variable field. it is a string
value. whether i add "mods~factor(field)"  or not I get the same main
effect results, and there is no error message. Can anyone help me figure
out what I am doing wrong?

res <- rma(yi,vi, mods~factor(field), data=Outcomes1, method = "HS",
subset=(ID=="XX" | ID=="XY"))

Thanks a lot for your help,

	[[alternative HTML version deleted]]

More information about the R-sig-meta-analysis mailing list