continue_sequence {shinyInvoice} | R Documentation |
Functions continue_sequence, duplicate_last_list_element and date_bump_month
Description
continue_sequence: suffix increase, i.e. from 1 to 2, from a to b
duplicate_last_list_element: copies last element from list and bumps its name
date_bump_month: increases or decreases date by one month
Usage
continue_sequence(chr_vector, sep = "_", factor = 1)
duplicate_last_list_element(list)
date_bump_month(date, decrease = FALSE)
Arguments
chr_vector |
character, vector |
sep |
character, separating prefix from suffix |
factor |
numeric, increase or decrease sequence |
list |
list |
date |
date |
decrease |
boolean |
Value
vector
data.frame
date
Examples
continue_sequence(c("a_1", "a_2"))
duplicate_last_list_element(list(a_1 = "1", b_1 = "random"))
date_bump_month(as.Date("2024-02-29"))
[Package shinyInvoice version 0.0.5 Index]