check.data {EMMAgeo} R Documentation

## Check correctness and consistency of input data

### Description

The input data matrix (X), number of end-members (q), weight transformation limits (l) and constant sum scaling parameter (c) are checked. This includes checking for absence of missing values, columns containing only zero-values and for numeric data type of all variables. A furthercheck tests if l is below the maximum possible value, preventing numerical instability prior to factor rotation.

### Usage

check.data(X, q, l, c, ...)


### Arguments

 X Numeric matrix, input data set with m samples (rows) and n variables (columns). q Numeric scalar, number of end-members to be modelled. l Numeric scalar or vector, weight transformation limit, i.e. quantile. c Numeric scalar, constant sum scaling parameter, e.g. 1, 100, 1000. ... Further arguments passed to the function.

### Value

Character vector, verbose test results.

### Author(s)

Michael Dietze, Elisabeth Dietze

EMMA

### Examples