Produces an unsorted central moment object from a sorted object of class "moment".
Unsorted moments are those with exponents not in numeric order, e.g., m312.
1  tounsorted(moment,sorted.moment)

moment 
unsorted moment to obtain moment is in vector form, eg, c(3,1,2) 
sorted.moment 
sorted moment to use in obtaining unsorted moment 
The unsorted moment is obtained by resorting the rows and columns of the sorted moment sucessively.
A object of class 'moment', which is a list with three components:
moment 
the input moment vector 
representation 
a matrix containing the representation in terms of uppertriangular matrices 
coefficients 
the coefficients corresponding to the rows of the representation 
Kem Phillips <kemphillips@comcast.net>
K Phillips, Symbolic Computation of the Central Moments of the Multivariate Normal Distribution, Journal of Statistical Software, 2010.
multmoments
1 2 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.