Message-ID: <a456c739-4958-ef80-2f52-3ad7e4c2f8d4@dewey.myzen.co.uk>
Date: 2022-09-17T12:26:37Z
From: Michael Dewey
Subject: [R-meta] Error Stopped because k = 0 after sub setting.
In-Reply-To: <KL1PR0601MB45862D1746E3EB6069035D67984B9@KL1PR0601MB4586.apcprd06.prod.outlook.com>
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