bisection_insert: Insert A Single Task Efficiently Into An Already-Sorted List

Description Usage Arguments Examples

Description

Insert A Single Task Efficiently Into An Already-Sorted List

Usage

1
bisection_insert(task, tasks, tasks_column = "Task")

Arguments

task

The tast to be sorted, a character

tasks

The presorted list, a tibble

tasks_column

The column name of the tasks within the presorted list

Examples

1
2
3
4
task <- "Fix the roof"
tasks <- tibble("To-Do" = c("task a", "task b", "task c",
"task d", "task e", "task f", "task g"))
bisection_insert(task, tasks, tasks_column = "To-Do")

ayormark/decider documentation built on Feb. 8, 2020, 1:12 a.m.