A length-one numeric vector specifying a subscript,
after which the new column is to be appended.
var
A character string giving the name of the new column.
Author
N. Frerebeau
Details
If column is named, names will be matched to the row names of x. Only
the first match is retained, and elements of column without a match are
removed. This allows to add as a column a vector whose length is less than
the number of rows in x (NAs will be inserted).
See Also
Other data preparation tools:
append_rownames(),
assign(),
compact(),
count(),
detect(),
discard(),
get(),
keep(),
seek()