insColAfter: Insert column(s) after a column of an existing dataframe

Description Usage Arguments Value

View source: R/misc.R

Description

Insert column(s) after a column of an existing dataframe

Usage

1
insColAfter(df, v, after, colname = NULL)

Arguments

df

Input dataframe

v

A vector or dataframe

after

Column index or name

colname

Set inserted column name. Has no effect if v is not a vector

Value

A dataframe with the inserted column(s)


luannnguyen/hmfGeneAnnotation documentation built on May 6, 2020, 1:07 p.m.