normalize.max: Max normalization

Description Usage Arguments Value Examples

View source: R/norm.fun.R

Description

Normalize the scores of a scores matrix by dividing the score values of each class for the maximum score of the class.

Usage

1

Arguments

S

a scores matrix. Rows are examples and columns are classes.

Value

A scores matrix with the scores normalized.

Examples

1
2
data(scores);
maxnorm <- normalize.max(S);

HEMDAG documentation built on Feb. 12, 2021, 5:13 p.m.