data.frame
at a Specific PositionInsert columns into a data.frame
at a specific position. Transforms tibble
or data.table
to data.frame
.
insert.col(dat, toinsert, after)
A data frame with columns in specified positions.
A data frame
Column name(s) or column number(s) of the columns to be reinserted
Column name or column number after which the columns specified in insert
should be reinserted.