Retrieve value from attribute footnote of object x.
This function is deprecated and will be removed from tern in version 0.7.11.
Please use the equivalent implementation from rtables or attr(x, "footnote") directly.
Examples
x <- table(iris$Species)
footnotes(x) <- "Species are equally distributed"
footnotes(x)
#> [1] "Species are equally distributed"