trans_loglinear function

Transformation for continuous data with a finite number of distinct values