Three data blocks are simulated to express covariance in an exo-L-PLS direction (see lpls. Dimensionality and number of underlying components can be controlled.

lplsData(I = 30, N = 20, J = 5, K = 6, ncomp = 2)

Arguments

I

numeric number of rows of X1 and X2

N

numeric number of columns in X1 and X3

J

numeric number of columns in X2

K

numeric number of rows in X3

ncomp

numeric number of latent components

Value

A list of three matrices with dimensions matching in an L-shape.

See also

Overviews of available methods, multiblock, and methods organised by main structure: basic, unsupervised, asca, supervised and complex.

Author

Solve Sæbø (adapted by Kristian Hovde Liland)

Examples

lp <- lplsData(I = 30, N = 20, J = 5, K = 6, ncomp = 2)
names(lp)
#> [1] "X1" "X2" "X3"