CheckInputData function

Check Input Matrix function

Check Input Matrix function

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.

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))
  • Maintainer: Antonio Rodriguez
  • License: GPL-3
  • Last published: 2019-12-09

Useful links