Skip to content
Prev 156 / 5632 Next

[R-meta] confidence interval for I^2 in multilevel model

Dear Kyle

I will let Wolfgang answer your substantive question but you might be 
interested in a couple of R points sicne you mention you are a convert 
from SAS.

(1) You can permanently set something to be a factor
PPVdat$Bethesda <- factor(PPVdat$Bethesda)

(2) There is a subset argument to many R functions including the ones 
you are using so you do not have to set up separate data.frames for each 
value of Bethesda.

There is nothing wrong with doing it as you do but (1) makes it easier 
to read at least to my eyes, (2) reduces clutter in your workspace.

Michael
On 25/08/2017 16:39, Porter, Kyle wrote: