<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear All,</div>

<div> </div>

<div>I have found a solution to the problem. It is probably not the most sophisticated solution but it works.</div>

<div> </div>

<div>#################</div>

<div> </div>

<div>require(meta)</div>

<div> </div>

<div>#dat is the data for the MA.</div>

<div> </div>

<div>#This builds the list for the study names.</div>

<div>a <-expression("Bitterli al.,"^12~2020, "Oosting et al.,"^23~2021, "Vuko et al.,"^43~1847)<br/>
a</div>

<div> </div>

<div>#run meta-analysis</div>

<div>res <- metagen(TE, seTE, data = dat,studlab = paste(Author), comb.fixed = FALSE, comb.random = TRUE, method.tau = "REML", hakn = TRUE, prediction = FALSE, sm = "SMD")</div>

<div> </div>

<div>#draw forest plot</div>

<div>forest(res, studlab=c(a),....)</div>

<div> </div>

<div>########################</div>

<div> </div>

<div>Done.</div>

<div> </div>

<div>Regards</div>

<div> </div>

<div>Tobias</div>

<div> </div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 16. Dezember 2020 um 12:13 Uhr<br/>
<b>Von:</b> "Tobias Saueressig" <t.saueressig@gmx.de><br/>
<b>An:</b> "r-sig-meta-analysisr-project.org" <r-sig-meta-analysis@r-project.org><br/>
<b>Betreff:</b> [R-meta] Superscript in Forest plot (meta)</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Dear All,</div>

<div> </div>

<div>I have a question concerning the creation of a forest plot in meta.</div>

<div> </div>

<div>The editor wants the study label in the following way: </div>

<div> </div>

<div>[Author et al.],[ref in superscript] [year]</div>

<div> </div>

<div>At the moment I have my data in an Excel spreadsheat were I can show superscripts, but they are not shown when importing the table to R.</div>

<div> </div>

<div>Is there an (easy) way to add superscripts to a study name?</div>

<div> </div>

<div> </div>

<div>Regards,</div>

<div> </div>

<div>Tobias</div>

<div> </div>
</div>
_______________________________________________ R-sig-meta-analysis mailing list R-sig-meta-analysis@r-project.org <a href="https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis</a></div>
</div>
</div>
</div></div></body></html>