as.centcosums | R Documentation |
Convert data to a centcosums
object.
as.centcosums(x, order=2, na.omit=TRUE)
## Default S3 method:
as.centcosums(x, order = 2, na.omit = TRUE)
x |
a matrix. |
order |
the order, defaulting to |
na.omit |
whether to remove rows with |
Computes the raw cosums on data, and stuffs the results into a
centcosums
object.
A centcosums object.
The moment computations provided by fromo are numerically robust, but will often not provide the same results as the 'standard' implementations, due to differences in roundoff. We make every attempt to balance speed and robustness. User assumes all risk from using the fromo package.
Steven E. Pav shabbychef@gmail.com
set.seed(123)
x <- matrix(rnorm(100*3),ncol=3)
cs <- as.centcosums(x, order=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.