View source: R/normBrick4PTCA_Cube.R
normBrick4PTCA | R Documentation |
normBrick4PTCA
norms an I*J*N CATA array.normBrick4PTCA
norms an I*J*N CATA array
(i.e., an array such that x_{i,j,k} >= 0),
by rows, by columns, by matrix
(i.e. by "Slice"), or by group of Participants.
The normalization implemented makes the sum of the normalized unit
(i.e., rows, columns, matrices) equal to a constant
(see normingConstant
).
normBrick4PTCA( array2Norm, normingConstant = 1, normalization = "byRow", code4Groups = NULL )
array2Norm |
a "to be normed" 3-D I*J*N CATA array (i.e., an array such that x_i,j,k >= 0). |
normingConstant |
(default = 1), the constant to which
normalization is done. For example, when the option |
normalization |
type of normalization,
Current options are: |
code4Groups |
(default = |
a list with the I*J*N normalized cube.
With the option
"byGroup"
.
normBrick4PTCA
will also return an I*J*K array with the
summed values for the groups.
Note that the normalizated array should be accessed as a list.
So with the call toto <- normBrick4PTCA(array2Norm)
,
the returned normalized
array is in the list item toto$normedArray
.
Herve Abdi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.