fsn(yi, vi, sei, data, type="Rosenthal", alpha=.05,
target=NULL, digits=4, subset=NULL)vi or sei, needs to be specified)"Rosenthal", "Orwin", or "Rosenberg". See below for more details.NULL, then the target average effect size will be equal to the observed average effect size divided by 2."fsn". The object is a list containing the following components:NA for the Orwin method.NA for the Rosenthal method.NA for the Rosenthal and Rosenberg methods.print.fsn function.ranktest, trimfill### load BCG vaccine data
data(dat.bcg)
### calculate log relative risks and corresponding sampling variances
dat <- escalc(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg,
data=dat.bcg, append=TRUE)
fsn(yi, vi, data=dat)
fsn(yi, vi, data=dat, type="Orwin")
fsn(yi, vi, data=dat, type="Rosenberg")Run the code above in your browser using DataLab