Rdocumentation
powered by
Learn R Programming
Fgmutils (version 0.5)
add.col: add column
Description
take a data-frame and a vector and combine by columns, respectively.
Usage
add.col(dataf, vec, namevec)
Arguments
dataf
dataframe
vec
vector
namevec
the names of the columns of vector
Value
dataf dataframe combined with the vector