Learn R Programming

phytoclass (version 2.3.1)

Normalise_F: This function normalises each column in F to row sum

Description

This function normalises each column in F to row sum

Usage

Normalise_F(Fmat)

Value

A list consisting of two components: - a matrix of pigment ratios normalized to row sums - a vector of row sums

Arguments

Fmat

A matrix or data.frame with the last column containing non-zeros