# NOT RUN {
# Simple moment m[5] in terms of the cumulants k[1],...,k[5].
mom2cum(5)
# Multivariate moment m[3,1] in terms of the multivariate cumulants k[i,j] for
# i=0,1,2,3 and j=0,1.
mom2cum(c(3,1))
# }
Run the code above in your browser using DataLab