This adds more footnotes.
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"
#> Warning: `footnotes()` was deprecated in tern 0.7.11.
#> ℹ Please use current implementation in rtables or directly attr(x, "footnote")
footnotes(x)
#> [1] "Species are equally distributed"
add_footnotes(x) <- "Add more footnotes"
#> Warning: `add_footnotes()` was deprecated in tern 0.7.11.
#> ℹ Please use current implementation in rtables or directly attr(x, "footnote")
footnotes(x)
#> [1] "Species are equally distributed" "Add more footnotes"