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

Michael Dewey ||@t@ @end|ng |rom dewey@myzen@co@uk
Sat Sep 17 14:26:37 CEST 2022


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



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