Learn R Programming

symmoments (version 1.2.1)

print.moment: Print the representation of a multivariate moment

Description

Prints an object of class 'moment'

Usage

# S3 method for moment
print(x,...)

Arguments

x

an object of class 'moment', usually the output of callmultmoments

...

Included only for consistency with generic function

Details

Prints the moment as E[X1**k1 X2**k2 ...]: followed by the lines of the representation with the corresponding coefficient attached

References

K Phillips, Symbolic Computation of the Central Moments of the Multivariate Normal Distribution, Journal of Statistical Software, 2010.

See Also

callmultmoments (symmoments)

Examples

Run this code
# NOT RUN {
print(callmultmoments(c(1,2,3)))
# }

Run the code above in your browser using DataLab