ddpcr (version 1.15.2)

move_back: 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

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

Run the code above in your browser using DataLab