som.nn.round.votes: Rounds a dataframe with vectors of votes for SOMnn

Description Usage Arguments Value

View source: R/som.nn.util.R

Description

Each row of the data.frame may sum up to 1.0 before and after rounding. Rounding is performed with round.probabilities.

Usage

1
som.nn.round.votes(votes, classes, digits = 2)

Arguments

votes

data.frame with rows of class probabilities.

classes

character vector with name of categories. Names must match the column names of probabilities to be rounded.

digits

precision; default = 2.

Value

data.frame with roundes rows of class probabilities. other columns are not affected.


som.nn documentation built on May 2, 2019, 8:26 a.m.