addConstantColumns
Closed this issue · 1 comments
jakobbossek commented
Often I have a list with scalar components and my goal is to append each component as a constant column to a data.frame.
mydf = addConstantColumns(mydf, a = 1, b = 2, c = 3)
mydf = addConstantColumns(mydf, list(a = 1, b = 2, c = 3)) # alternative call
jakobbossek commented
Done