jointplotgen: Jointplots

Description Usage Arguments Value Author(s) References Examples

View source: R/jointplotgen.R

Description

Program for producing jointplots in general.

Usage

1
 jointplotgen(K, A, B, C, fixmode, fixunit, laba, labb, labc)

Arguments

K

Matricized core array (frontal slices)

A

Component matrix for the A-mode

B

Component matrix for the B-mode

C

Component matrix for the C-mode

fixmode

Mode for which one unit is to be chosen (1 for A-mode, 2 for B-mode, 3 for C-mode)

fixunit

Number of component for which joint plot is desired

laba

Vector of length n containing the labels of the A-mode entities

labb

Vector of length m containing the labels of the B-mode entities

labc

Vector of length p containing the labels of the C-mode entities

Value

fit

Percentage of info for component at hand, explained by two-dimensional plot

Author(s)

Maria Antonietta Del Ferraro [email protected]
Henk A.L. Kiers [email protected]
Paolo Giordani [email protected]

References

P.M. Kroonenberg (2008). Applied Multiway Data Analysis. Wiley, New Jersey.

Examples

1
2
3
4
5
6
7
8
9
data(Bus)
# labels for Bus data
laba <- rownames(Bus)
labb <- substr(colnames(Bus)[1:5], 1, 1)
labc <- substr(colnames(Bus)[seq(1,ncol(Bus),5)], 3, 8)
# <- T3 solution
BusT3 <- T3funcrep(Bus, 7, 5, 37, 2, 2, 2, 0, 1e-6)
# Joint plot for mode C and component 2
jointplotgen(BusT3$H, BusT3$A, BusT3$B, BusT3$C, 3, 2, laba, labb, labc)

ThreeWay documentation built on May 29, 2017, 11:52 p.m.