powered by
Convert data to a centsums object.
centsums
as.centsums(x, order=3, na.rm=TRUE)# S3 method for default as.centsums(x, order = 3, na.rm = TRUE)
# S3 method for default as.centsums(x, order = 3, na.rm = TRUE)
a numeric, array, or matrix.
the order, defaulting to length(sums)+1.
length(sums)+1
whether to remove NA.
NA
A centsums object.
Computes the raw sums on data, and stuffs the results into a centsums object.
# NOT RUN { set.seed(123) x <- rnorm(1000) cs <- as.centsums(x, order=5) # }
Run the code above in your browser using DataLab