get.l: Generate a vector of weight transformation values from l.min...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/get.l.R

Description

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

Usage

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

Arguments

X

Numeric matrix, input data set 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 class "EMMAgeo_l", weight transformation values.

Author(s)

Michael Dietze, Elisabeth Dietze

See Also

test.l.max

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## load example data set
data(example_X)

## truncate data set to save computation time, not needed in real life
X <- X[1:10, 1:10]

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

coffeemuggler/EMMAgeo documentation built on Dec. 27, 2019, 5:32 a.m.