Bounded_weights: Add weights to the data, bound at a maximum.

View source: R/Bounded_weights.R

Bounded_weightsR Documentation

Add weights to the data, bound at a maximum.

Description

Add weights to the data, bound at a maximum.

Usage

Bounded_weights(S, weight.upper.bound = 30)

Arguments

S

Sample data matrix – a matrix of pigment samples

weight.upper.bound

Upper bound for weights (default is 30)

Value

A vector with upper bounds for weights

Examples

Bounded_weights(Sm, weight.upper.bound = 30)


phytoclass documentation built on April 4, 2025, 4:02 a.m.