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

Description Usage Arguments Examples

View source: R/utils.R

Description

This function is taken from daattali/rsalad R package.

Usage

1
move_back(df, cols)

Arguments

df

A data.frame.

cols

A vector of column names to move to the back

Examples

1
2
3
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 July 8, 2020, 6:49 p.m.