Learn R Programming

DeLorean (version 1.5.0)

ordering.move: Move one item in an ordering and shift the other items.

Description

Move one item in an ordering and shift the other items.

Usage

ordering.move(ordering, from, to)

Arguments

ordering

The ordering.

from

The index of the item to move.

to

The index it should be moved to.