[R] Loop on vector name

Megh Dal megh700004 at yahoo.com
Wed Sep 17 13:50:36 CEST 2008


[My previous message rejected, therefore I am sending same one with some modification]

I have 3 vectors with object name : dat1, dat2, dat3

Now I want to create a loop, like :

for (i in 1:3)
   {
    cat(sd(dati))
   }

How I can do this in R?

Regards,



More information about the R-help mailing list