GetM1: Get reduced matrix (M1) function

Description Usage Arguments Value Examples

View source: R/GetM1.R

Description

This function reduce matrix provided by the user deleting missing categories, those j where sum(datatable[j,]) = sum(datatable[,j]) = 0. Also provide a list of the categories deleted and provides the new size of the problem

Usage

1
2
3
4
GetM1(datatable)

## S3 method for class 'GetM1'
print(x, ...)

Arguments

datatable

Matrix. Expected to be square matrix with at least 2 rows (columns), non negative values and at least an element different of zero.

x

List produced by GetM1

...

Other print options

Value

NULL

Examples

1
GetM1(matrix(c(1,2,0,3,4,0,0,0,0),3,3))

Delta documentation built on March 26, 2020, 7:21 p.m.

Related to GetM1 in Delta...