Learn R Programming

metacoder (version 0.3.7)

select_labels: Pick labels to show

Description

Pick labels to show based off a column name to sort by and a maximum number

Usage

select_labels(my_data, label_max, sort_by_column, label_column)

Value

character IDs of rows with labels to show

Arguments

my_data

data.frame

label_max

numeric of length 1

sort_by_column

character of length 1; the name of a column in my_data

label_column

character of length 1; the name of a column in my_data containing labels