The footnotes in gtsummary are indexed as superscript:
But to my knowledge, the convention in almost every research field is to use subscript. This has been -- quite understandably-- a point of confusion when presenting my tables to lay audiences. They ask me "why is your p-value squared?"
This is reproducible if you run %>% tbl_summary() %>% add_p() on any dataframe. The footnotes will be indexed as superscripts instead of subscripts.
There does not seem to be any way to change it using modify_footnote.
Is there any possible way to move it? I would like my footnote indices to look like this:
without having to tweak them manually after rendering.
You can use the
gt::opt_footnote_marks()function to change the default footnote mark. See example below!