Learn R Programming

EMMAgeo (version 0.9.4)

get.l: Generate a vector of weight transformation values from l_min to l_max.

Description

This function generates a sequence of weight transformation values that range from l_min (by default zero) to l_max (by default 95 maximum possible value). It is a wrapper for the function test.l.max().

Usage

get.l(X, n = 10, max = 0.95, min = 0)

Arguments

X

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

n

Numeric scalar, length of the output vector (by default 10).

max

Numeric scalar, fraction of the maximum value (by default 0.95).

min

Numeric scalar, minimum value (by default zero).

Value

Numeric vector of weight transformation values.

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.

See Also

EMMA, test.l.max

Examples

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

## infer l-vector
l <- get.l(X = X, n = 5, max = 0.8, min = 0.02)
# }

Run the code above in your browser using DataLab