RowsPartition: Calculate horizontal partitions in the multi-block.

View source: R/ComDim_PLS_MB.R View source: R/ComDim_PCA_MB.R

RowsPartitionR Documentation

Calculate horizontal partitions in the multi-block.

Description

Internal function of ComDim_PCA().

Internal function of ComDim_PCA().

Usage

RowsPartition(Xn = Xn, Partitions = Partitions)

RowsPartition(Xn = Xn, Partitions = Partitions)

Arguments

Xn

A block.

Partitions

The number of partitions.

Value

The partitioned block.

The partitioned block.

Examples

b1 <- matrix(rnorm(500),10,50)
b1 <- RowsPartition(b1,2)
b1 <- matrix(rnorm(500),10,50)
b1 <- RowsPartition(b1,2)

f-puig/R.ComDim documentation built on Feb. 20, 2024, 6:49 a.m.