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 |
|
q |
|
l |
|
c |
|
... |
Further arguments passed to the function. |
Value
Character
vector, verbose test results.
Author(s)
Michael Dietze, Elisabeth Dietze
See Also
Examples
## load example data set
data(example_X)
## perform data set check
check.data(X = X,
q = 6,
l = seq(from = 0,
to = 0.2,
by = 0.01),
c = 1)