get.l.opt {EMMAgeo}R Documentation

Identify optimum weight transformation value

Description

This function returns for a series of input vaules the weight transformation value, which yielded the highest measure of model quality.

Usage

get.l.opt(X, l, quality = "mRt", Vqn, rotation, plot = TRUE, ...)

Arguments

X

Numeric matrix, input data set with m samples (rows) and n variables (columns).

l

Numeric vector, weight transformation values to test.

quality

Character scalar, quality measure for against which to test the influence of l. See details for a list of the a vailable keywords. Default is "mRt".

Vqn

Numeric matrix specifying optional unscaled user-defined end-member loadings.

rotation

Character scalar, rotation type, default is "Varimax" (cf. EMMA for further information).

plot

Logical scalar, optional graphical output of the result.

...

Further arguments passed to the function.

Details

The parameter quality can be one out of the following keywords: "mRm", "mRn", "mRt", "mEm", "mEn" and "mEt". See EMMA for definition of these keywords.

Value

Numeric scalar, weight tranformation value with optimal EMMA result.

Author(s)

Michael Dietze, Elisabeth Dietze

See Also

EMMA

Examples


## load example data set
data(example_X)
data(example_EMpot)

## get optimal l-value, uncomment to run
# get.l.opt(X = X, 
#           l = seq(from = 0, to = 0.1, by = 0.01), 
#           Vqn = EMpot$Vqn, 
#           quality = "mRt")


[Package EMMAgeo version 0.9.7 Index]