insert.col {eatTools}R Documentation

Insert Columns into a Data Frame in a Specific Position

Description

Insert columns into a data frame in specific position

Usage

  insert.col(dat, toinsert, after)

Arguments

dat

A data frame

toinsert

Column name(s) or column number(s) of the columns to be reinserted

after

Column name or column number after which the columns specified in insert should be reinserted.

Value

A data frame with columns in specified positions.


[Package eatTools version 0.6.0 Index]