Skip to main content

Table 2 R-code for meta-analysis of control and fat supplemented treatments

From: A systematic review and meta-analysis of dietary fat effects on reproductive performance of sows and growth performance of piglets

madata<-read.csv("F:/Meta/filename.csv",header = T)

library (meta)

m.res<-metacont (Ne,Me,Se,Nc,Mc,Sc,data=madata,studlab=paste (Reference),

comb.fixed=F,comb.random=T, method.tau="SJ",

hakn=T, sm="SMD")

m.res

forest(m.res, test.overall.random =T)