[R-meta] Error Stopped because k = 0 after sub setting.
Dear Klaow There is no "PZQ" in that file as far as I can see. There is a "pzq" though. Michael
On 17/09/2022 16:06, Klaow sota wrote:
I apologize?for the messy data from the previous?email. The screenshot photo might be better, I attached. I curious that yi/vi probably get problem and made the error happened. Best, Klaow ------------------------------------------------------------------------ *From:* Michael Dewey <lists at dewey.myzen.co.uk> *Sent:* Saturday, September 17, 2022 7:26 PM *To:* Klaow sota <jija_99 at hotmail.com>; r-sig-meta-analysis at r-project.org <r-sig-meta-analysis at r-project.org> *Subject:* Re: [R-meta] Error Stopped because k = 0 after sub setting?. Dear Klaow Without your data it is hard to be sure. I assume you have checked that the variable interven does indeed contain some values "PZQ"? Michael On 17/09/2022 11:44, Klaow sota wrote:
I have some problems with analysis in subgroup It showed this message: ?? > # fit random-effects model in the three subgroups
res.s <- rma(yi, vi, subset=(interven=="PZQ"),data=dat)
Error: Stopped because k = 0 after sub setting?. How should I fix it? Is it caused from vi, yi? Best regards, Klaow ??????? [[alternative HTML version deleted]]
_______________________________________________ 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
-- Michael http://www.dewey.myzen.co.uk/home.html <http://www.dewey.myzen.co.uk/home.html> width= <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>