Learn R Programming

fromo (version 0.2.5)

accessor: Accessor methods.

Description

Access slot data from a centsums object.

Usage

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"))

Value

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.

Arguments

x

a centsums object.

type

the type of moment to compute.

Author

Steven E. Pav [email protected]