Skip to contents

[Deprecated]

Assign value to 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.

Usage

footnotes(x) <- value

Arguments

x

an object

value

character vector

Examples

x <- table(iris$Species)
footnotes(x) <- "Species are equally distributed"
attributes(x)
#> $dim
#> [1] 3
#> 
#> $dimnames
#> $dimnames[[1]]
#> [1] "setosa"     "versicolor" "virginica" 
#> 
#> 
#> $class
#> [1] "table"
#> 
#> $footnote
#> [1] "Species are equally distributed"
#>