CheckInputData {Delta}R Documentation

Check Input Matrix function

Description

This function checks that matrix introduced is as expected. Should be a matrix, squared, with a dimension greater or equal to two, without negative entries and at least an entry different of 0.

Usage

CheckInputData(datatable)

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.

Examples

CheckInputData(matrix(c(1,2,3,4),2,2))

[Package Delta version 0.2.0.3 Index]