SyntaxFix
Write A Post
Hire A Developer
Questions
this works too.
df = NULL for (k in 1:10) { x = 1 y = 2 z = 3 df = rbind(df, data.frame(x,y,z)) }
output will look like this
df #enter x y z #col names 1 2 3