GetM1 {Delta}R Documentation

Get reduced matrix (M1) function

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

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

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

[Package Delta version 0.2.0.3 Index]