View source: R/classification_voting.R
vote_on_classifications | R Documentation |
Given a data.frame of EMF categories / classes, attempts to find most likely classification using a voting method. Options for output include returning *all* the categories, a *single* above a particular threshold (default = 0.66), or return the class *multiple* for those things that had multiple classes.
vote_on_classifications(
category_list,
return_opts = "max",
vote_threshold = 2/3 * 100,
exclude_votes = c("not_lipid", "unclassifiable", as.character(NA),
"not_lipid or not_classified"),
debug = FALSE
)
category_list |
a named list of categories for each EMF |
return_opts |
what to return ('max', 'all', 'single', 'multiple') |
vote_threshold |
what is the vote threshold for 'single'? |
exclude_votes |
which categories should be excluded? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.