Learn R Programming

dematel (version 0.1.0)

check_data: Data checker

Description

Throws an error message if data is not matrix format, checks names attribute of the matrix, assign new ones if not defined

Usage

check_data(x)

Arguments

x

numeric values containing the data of direct relationship decision matrix.

Value

This function checks whether data is matrix or not. Returns a matrix and assign new names if not defined.