TrDtBbB: Transpose data table block by block

Description Usage Arguments Value

View source: R/F1.R

Description

This function take any data table or matrix and transpose it block by block.

Usage

1
2
3
4
5
6
7
TrDtBbB(
  Data = data(),
  lengthBlock = integer(),
  cls = c(),
  rs = c(),
  time_col = NULL
)

Arguments

Data

Data frame that will be imported

lengthBlock

Nomber of rows that will be transposed for any row.

cls

Columns of the data frame that will be included int the block transposetion.

rs

The rows of the first block. Based on this rows the function will select identically the rows of every other block.

time_col

The 'time parameter' is optional. We can ignore it if our data has no time values.

Value

A tibble.


GlenDu/ODBbB documentation built on Dec. 17, 2021, 9:33 p.m.