Change distribution name to the preferred distribution name term
Source:R/err.R
rxPreferredDistributionName.Rd
This is determined by the internal preferred condition name list
.errIdenticalDists
Examples
rxPreferredDistributionName("dt")
#> [1] "t"
rxPreferredDistributionName("add")
#> [1] "add"
# can be vectorized
rxPreferredDistributionName(c("add","dt"))
#> add dt
#> "add" "t"