I'm trying to copy the results of a dataframe to another within a cycle for
but I am not able to implement the rbind, because give th

d<-Null
df<-NULL

for(r in 2: nrow(x))
    {
      val_user<-x.name[[r]]
      pos<-x.pos[[r]] -4
      age <-x.age[[r]]
      d<-data.frame(val_user,pos,)
      print(d)
      df<-rbind(df,d)
    }

someone can help me solve this

   Thanks

--
View this message in context: 
http://r.789695.n4.nabble.com/Copy-dataframe-for-another-tp4456886p4456886.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to