distribution_var() returns a character vector of the distribution variable in the data.

distribution_var(x)

Arguments

x

A dataset containing a distribution variable (such as a fable).