Description Usage Arguments Value Examples
View source: R/SphereKaji20140527.R
Spherization of multiway table array
1 | table.sphere(A)
|
A |
An array or matrix of multiway table |
tables A list of three tables: data :Input table A itself, expected : its expected table and diff: table of differecen between A and expected table
r.vec A integer vector indicating numbers of levels of A
df Degrees of freedom of A
matrices A list of four matrices, X,X.sub,X.inv and X.inv.sub, which are output of make.X.vector0, rotating to/from number-of-cell dimension and df dimension with/without meaningless rows/columns
zero.vec A vector indicating meaningful rows of rotations
map.matrices A list of four matrices: Full2df is a matrix transforming a table array vector to df-dimensional point, DF2full is a matrix transforming df-dimensional point to a table vector, Normalvec2DF is a matrix transforming test table to df-dimensional vector and W is a key matrix to calculate other matrices
1 2 3 | r <- c(2,3,4)
A <- array(1:prod(r),r)
t.sphere <- table.sphere(A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.