FillInMatrix: 'FillInMatrix'

View source: R/utilities.R

FillInMatrixR Documentation

FillInMatrix

Description

Fills in missing rows and/or columns in a matrix.

Usage

FillInMatrix(x, row.names, col.names, value = 0)

Arguments

x

The matrix.

row.names

The required row names, which includes the current row names as a subset.

col.names

The required colum names, which includes the current column names as a subset.

value

The value to fill in for cells that are not in the origial matrix.


NumbersInternational/flipStartup documentation built on Feb. 26, 2024, 5:39 a.m.