CheckInputData: Check Input Matrix function

Description Usage Arguments Examples

View source: R/CheckInputData.R

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

1
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

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

toni-1991/Delta documentation built on Dec. 9, 2019, 8:54 a.m.