[R-meta] Error Stopped because k = 0 after sub setting​.

Klaow sota j|j@_99 @end|ng |rom hotm@||@com
Sat Sep 17 17:06:22 CEST 2022


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 using dewey.myzen.co.uk>
Sent: Saturday, September 17, 2022 7:26 PM
To: Klaow sota <jija_99 using hotmail.com>; r-sig-meta-analysis using r-project.org <r-sig-meta-analysis using 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 using 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20220917/30af4382/attachment-0001.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2565-09-17 at 23.04.46.png
Type: image/png
Size: 240138 bytes
Desc: Screen Shot 2565-09-17 at 23.04.46.png
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20220917/30af4382/attachment-0001.png>


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