SplitVariablesMB: Internal function used for ExpandMultiBlock Splits a...

View source: R/SplitVariablesMB.R

SplitVariablesMBR Documentation

Internal function used for ExpandMultiBlock Splits a data.frame or a matrix into smaller sets and returns a MultiBlock object.

Description

Internal function used for ExpandMultiBlock Splits a data.frame or a matrix into smaller sets and returns a MultiBlock object.

Usage

SplitVariablesMB(data = NULL, metadata = NULL, columns = NULL, minblock = 0)

Arguments

data

A data.frame or a matrix. Samples are in rows and variables in columns.

metadata

The metadata associated with the variables. It has the same number of rows than columns are in data.

columns

The columns from metadata that will guide the split. Optional

minblock

The minimal number of variables that need to be contained in a block in order to be kept.

Value

The MultiBlock.


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