rrcov3way (version 0.5-0)

do3Rotate: Varimax Rotation for Tucker3 models

Description

Computes varimax rotation of the core and component matrix of a Tucker3 model to simple structure.

Usage

do3Rotate(x, ...)

# S3 method for tucker3 do3Rotate(x, weights = c(0, 0, 0), rotate = c("A", "B", "C"), ...)

Value

A list including the following components:

Arguments

x

A Tucker 3 object

...

Potential further arguments passed to called functions.

weights

A numeric vector with length 3: relative weights (greater or equal 0) for the simplicity of the component matrices A, B and C respectively.

rotate

Within which mode to rotate the Tucker3 solution: rotate="A" means to rotate the component matrix A of mode A; rotate=c("A", "B") means to rotate the component matrices A and B of modes A and B respectively. Default is to rotate all modes, i.e. rotate=c("A", "B", "C").

Author

Valentin Todorov, valentin.todorov@chello.at

Examples

Run this code
 ## Rotation of a Tucker3 solution
 data(elind)
 (t3 <- Tucker3(elind, 3, 2, 2))
 xout <- do3Rotate(t3, c(3, 3, 3), rotate=c("A", "B", "C"))
 xout$vvalue

Run the code above in your browser using DataLab