x3p_get_labels: Obtain all labels and majority label from an 'x3p' object's...

View source: R/x3p_get_labels.R

x3p_get_labelsR Documentation

Obtain all labels and majority label from an 'x3p' object's mask

Description

This function gives the user each label associated with a single or multiple 'x3p' objects Majority label is defined by a decision ratio specified by the user

Usage

x3p_get_labels(df, decision_ratio, multiple = FALSE, select_col)

Arguments

df

object of class 'x3p' or a tibble style dataframe containing 'x3p' objects

decision_ratio

numeric value specified by the user for majority label

multiple

clarify whether user is working with a single 'x3p' object or multiple in a tibble style dataframe

select_col

if multiple = TRUE, location of the x3p objects

Value

A list containing labels and majority labels associated


xazip/x3pLeaX documentation built on July 14, 2022, 5:37 p.m.