Set the description of a ddf object
Examples
mydist <- unif(8)
print(mydist)
#> Discrete uniform distribution on {1, ..., 8}
#>
#> Support:
#> [1] 1 2 3 4 5 6 7 8
#>
#> Probabilities:
#> [1] 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
desc(mydist) <- "This distribution needs a better description"
print(mydist)
#> This distribution needs a better description
#>
#> Support:
#> [1] 1 2 3 4 5 6 7 8
#>
#> Probabilities:
#> [1] 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
