I want to add a column to a data frame that has a fix value, so based on this solution I do :
lessthan7.labels [, 'interval']= c(rep( 'week', nrow(lessthan7)))
but then it creates two columns: "interval", "rep(\"week\", nrow(lessthan7))".
How to get rid of this extra column?