R/the_name_after.R

Defines functions the_name_after

Documented in the_name_after

#' the_name_after
#'
#' Get the name following the name provided
#'
#' @param .data object; an object with a names vector, usually a table
#' @param name
#'
#' @details
#'
#' `the_name_after` returnes
#'
#' @return string; the name
#'
#' @export

the_name_after <- function(.data, name) {
    names(.data)[ which( names(.data) == name ) + 1 ]
}
decisionpatterns/nameit documentation built on Aug. 22, 2020, 4:18 a.m.