If I have created a bunch of variables in #R#Rstats #programming
norm1 <- rnorm(500,100,1)
norm2 <- rnorm(500,101,1)
norm3 <- rnorm(500,67,1)
How do I save them to the same CSV with each variable in a different column?
write.csv(norm1,file="norm1.csv",row.names=FALSE) saves one variable
write.csv(norm1,norm2,norm3,file="/norm123.csv",row.names=FALSE)
Doesn't do what I hoped.