Access slot data from a centsums object.
sums(x)# S4 method for centsums
sums(x)
moments(x, type = c("central", "raw", "standardized"))
# S4 method for centsums
moments(x, type = c("central", "raw", "standardized"))
for raw type, returns all the raw moments. for central and standardized, drops the mean, and returns the central or standardized 2nd through kth moments.
a centsums object.
the type of moment to compute.
Steven E. Pav [email protected]