Learn R Programming

NMF (version 0.28)

aggregate.measure: Utility function to aggregate numerical quality measures from NMFfitXn objects.

Description

Given a numerical vector, this function computes an aggregated value using one of the following methods: best or mean

Usage

# S3 method for measure
aggregate(x, method = c("best", "mean"), decreasing = FALSE, ...)

Arguments

x

a numerical vector

method

the method to aggregate values. This argument can take two values : - mean: the mean of the measures - best: the best measure according to the specified sorting order (decreasing or not)

decreasing

logical that specified the sorting order

...

extra arguments to allow extension