LargeTrMean: Mean of transposed large Data block by block

Description Usage Arguments Value

View source: R/F6.R

Description

Transpose large data frame by block and gives the the mean of each block In case we have a large data frame and need to transpose it by block this fucntion will transpose it by block than it will give the mean of the column or of the rows of each block or of the hole block transposed.

Usage

1
2
3
4
5
6
7
LargeTrMean(
  Data = data(),
  lengthBlock = integer(),
  cls = c(),
  rs = c(),
  Mean = character()
)

Arguments

Data

Data frame that will be imported.

lengthBlock

Nomber of columns that will be transposed for any block.

cls

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

rs

Rows that will define the block that will be transposed.

Mean

Character that can take the values Row, Col or Block. Based on the option. that we'll choose and the function will return the mean of the Row, Col of each block or the general mean of all the block.

Value

tibble


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