Skip to contents

[Stable]

Assign value to attribute footnote of object x.

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"
#>