BlockTrSD: SD of transposed Data block by block

Description Usage Arguments Value

View source: R/F5.R

Description

Takes any data fame and transpose the blocks predeterminated in the function, than it give the standard deviation of the column or the standard deviation of the the rows of each block. It also gives the total standard deviation of each transposed block. ' the hole block transposed.

Usage

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

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 we want to transpose.

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.

SD

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.