append_col: Append column using position.

Description Usage Arguments

View source: R/utils.R

Description

Insert column between columns based on positions.

Usage

1
append_col(x, cols, after = length(x))

Arguments

x

data frame.

cols

column to insert into data frame.

after

the inserted column would be located after '(i)' position. 'If after=1, the column will be located in the 2nd position.


AGROFIMS/agdesign documentation built on June 11, 2020, 12:02 p.m.