The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


analyses:konstantopoulos2011

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
analyses:konstantopoulos2011 [2022/08/03 11:18] Wolfgang Viechtbaueranalyses:konstantopoulos2011 [2022/08/03 17:02] Wolfgang Viechtbauer
Line 80: Line 80:
 To obtain the descriptives about the effect size estimates per district (Table 3 in the paper), we can use: To obtain the descriptives about the effect size estimates per district (Table 3 in the paper), we can use:
 <code rsplus> <code rsplus>
-round(aggregate(yi ~ district, data=dat, FUN=function(x) c(mean=mean(x), sd=sd(x), min=min(x), max=max(x))), 3)+round(aggregate(yi ~ district, data=dat, FUN=function(x)  
 +                c(mean=mean(x), sd=sd(x), min=min(x), max=max(x))), 3)
 </code> </code>
 <code output> <code output>
analyses/konstantopoulos2011.txt · Last modified: 2022/08/22 16:00 by Wolfgang Viechtbauer