Last data update: 2014.03.03

R: add column
add.colR Documentation

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

Results