Skip to content
Prev 156251 / 398502 Next

Loop on vector name

[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,