write.csv(z, paste("c:/z_",i,".csv"sep=''))
You will have to modify this to prepend 0s.
Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina
nikhil.l...@gmail.com
On Jul 13, 2010, at 10:03 AM, Michael Haenlein wrote:
Dear all,
I have a code that generates da
Dear all,
I have a code that generates data vectors within R. For example assume:
z <- rlnorm(1000, meanlog = 0, sdlog = 1)
Every time a vector has been generated I would like to export it into a csv
file. So my idea is something as follows:
for (i in 1:100) {
z <- rlnorm(1000, meanlog = 0, sdlo
2 matches
Mail list logo