| expand.data | R Documentation | 
Multiply data length(values) times and left join the values as a column
expand.data(data, values, name = "variable.added")
| data | input data set | 
| values | values of the new column to be added | 
| name | name of the column to be added | 
input.df = data.frame(A = 1:2,B = 2:3,C = 4:5)
input.df
expand.data(input.df, values = c(1,3,7), "Klaas")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.