voted_to_multiple: transform multiple to a single entry

View source: R/classification_voting.R

voted_to_multipleR Documentation

transform multiple to a single entry

Description

Takes classifications where there are multiple tied max entries, and transforms them into a "multiple".

Usage

voted_to_multiple(voted_categories, split_by = "emf")

Arguments

voted_categories

data.frame of voted results

split_by

the variable to use the split on "emf"s, default is "emf"

Value

data.frame with "multiple" replacing tied entries


rmflight/metabolomicsUtilities documentation built on Oct. 28, 2023, 6:41 p.m.