move_to_position: Move item to position of vector

Description Usage Arguments Value

View source: R/helpful_functions.R

Description

Move item to position of vector

Usage

1
move_to_position(a_vector, items_to_move, my_position)

Arguments

items_to_move

Item or vector of items to move ( not indices )

my_position

Integer/Index of the postion the items should be moved to move the items to

my_vector

A vector

Value

Returns reordered vector


DanteBortone/housekeeping documentation built on April 20, 2020, 4:08 p.m.