move_back: Move columns to the back of a data.frame

View source: R/utils.R

move_backR Documentation

Move columns to the back of a data.frame

Description

This function is taken from daattali/rsalad R package.

Usage

move_back(df, cols)

Arguments

df

A data.frame.

cols

A vector of column names to move to the back

Examples

df <- data.frame(a = character(0), b = character(0), c = character(0), stringsAsFactors = TRUE)
move_back(df, "b")
move_back(df, c("b", "a"))

ddpcr documentation built on Aug. 21, 2023, 1:07 a.m.