move_back {ddpcr}R 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"))

[Package ddpcr version 1.15.2 Index]