Transform the marginals of a multivariate data set to standard normality based on the logspline density estimator (Kooperberg and Stone, 1991). See Otneim and Tj<U+00F8>stheim (2017) for details.
trans_normal(x)
The data matrix, one row per observation.
A list containing the transformed data ($transformed_data), and a function ($trans_new) that can be used to transform grid points and obtain normalizing constants for use in density estimation functions
Kooperberg, Charles, and Charles J. Stone. "A study of logspline density estimation." Computational Statistics & Data Analysis 12.3 (1991): 327-347.
Otneim, H<U+00E5>kon, and Dag Tj<U+00F8>stheim. "The locally gaussian density estimator for multivariate data." Statistics and Computing 27, no. 6 (2017): 1595-1616.