constant_sum_norm {structToolbox}R Documentation

Normalisation to constant sum

Description

Applies normalisation to a constant sum, such that the sum of values for each sample after normalisation is equal to 1 (or a scaling factor, if specified).

Usage

constant_sum_norm(scaling_factor = 1, ...)

Arguments

scaling_factor

The sum of all values for a sample after normalisation. Default = 1.

...

additional slots and values passed to struct_class

Value

struct object

Examples

M = constant_sum_norm()


[Package structToolbox version 1.0.1 Index]