MakeMatrixByColumnPartition: Make a matrix by column partitioning.

Description Usage Arguments

View source: R/DataConversionFunctions.R

Description

Make categorical representation of the numerical values of a column in a data frame and produce a matrix with the derived categorical tags as columns and values of a specified data column as rows.

Usage

1
2
3
4
5
6
7
8
9
MakeMatrixByColumnPartition(
  data,
  colNameForRows,
  colNameForColumns,
  breaks = 10,
  leftOverlap = NULL,
  rightOverlap = NULL,
  colnamesPrefix = ""
)

Arguments

data

a data frame

colNameForRows

a column name in data for the rows of the result matrix

colNameForColumns

a column name in data for the columns of the result matrix

breaks

the points over which the breaking of data[colNameForColumns] is done

leftOverlap

vector of weights for the neighboring columns to left

rightOverlap

vector of weights for the neighboring columns to right

colnamesPrefix

prefix for the columns names


antononcube/ERTMon-R documentation built on Oct. 14, 2021, 2:27 p.m.