data(exdataMD)
trans.armdata(study=id,treat1=treat1,treat2=treat2,n1=n1,n2=n2,y=MD,SE=seMD,
measure="MD",data=exdataMD)
data(exdataRR)
trans.armdata(study=id,treat1=treat1,treat2=treat2,n1=n1,n2=n2,y=logRR,SE=SE,
measure="logRR",data=exdataRR)
data(woods1)
trans.armdata(study=studlab,treat1=treat1,treat2=treat2,n1=n1,n2=n2,y=TE,SE=seTE,
measure="logHR",data=woods1)
# Event numbers are invesely calculated by the hazard ratio estimates.
# The resultant event numbers can differ from the actual event numbers,
# but they can be interpreted as pseudo-data that have equivalent information
# with the hazard ratio estimates.
# The hazard ratio estimates can be re-calculated by setup function.
Run the code above in your browser using DataLab