get.data.check.intercept: Check for an intercept in a matrix
Description
This function checks if any column in the matrix is intercept.
Usage
get.data.check.intercept(matrix)
Value
The index of the intercept. '-1' in intercept is not found.
Arguments
- matrix
data matrix