Learn R Programming

EMMAgeo (version 0.9.4)

test.l.max: Function to find maximum possible l value.

Description

This function approximates the highest possible value for l in a nested loop.

Usage

test.l.max(X, n = 10, ...)

Arguments

X

Numeric matrix with m samples (rows) and n variables (columns).

n

Numeric scalar, number of loop runs and values per loop.

Further arguments passed to the function.

Value

A numeric scalar, maximal possible l value.

References

Dietze E, Hartmann K, Diekmann B, IJmker J, Lehmkuhl F, Opitz S, Stauch G, Wuennemann B, Borchers A. 2012. An end-member algorithm for deciphering modern detrital processes from lake sediments of Lake Donggi Cona, NE Tibetan Plateau, China. Sedimentary Geology 243-244: 169-180. Klovan JE, Imbrie J. 1971. An Algorithm and FORTRAN-IV Program for Large-Scale Q-Mode Factor Analysis and Calculation of Factor Scores. Mathematical Geology 3: 61-77.

See Also

EMMA, check.data, test.parameters

Examples

Run this code
# NOT RUN {
## load example data set
data(X, envir = environment())

## create weight transformation limits vector
l <- seq(from = 0, to = 0.6, by = 0.02)

## test l.max
l.max <- test.l.max(X = X)
# }

Run the code above in your browser using DataLab