Print the name of a distribution, possibly with parameters.
Examples
d <- dst_norm(0.3552, 1.1453)
pretty_name(d)
#> [1] "Normal"
pretty_name(d, 2)
#> [1] "Normal(0.36, 1.1)"
Print the name of a distribution, possibly with parameters.
d <- dst_norm(0.3552, 1.1453)
pretty_name(d)
#> [1] "Normal"
pretty_name(d, 2)
#> [1] "Normal(0.36, 1.1)"