Dear R-friends
   
  I have a table with more than 50 columns (variables). Many of them are numeric and others are of type char. I would like repeat a group of command using only a set of the numeric variables, excluding others (for example V8, V12 etc) and not using the char ones. As a sample I want:
   
  ----
      x11() 
      plot (X, v2)
      model_v2<-glm (v2~X)
      lines (X, predict(model_v2))
   
      x11()
      plot (X, v3)
      model_v3<-glm (v3~X)
      lines (X, predict(model_v3))
   
      x11()
      plot (X, v4)
      model_v4<-glm (v4~X)
      lines (X, predict(model_v4))
      ....
  -----
   
  Look that I even use de X variable agains the other ones. How can I do that? Another question is how can I change the name of a column in a table?
   
  Thanks A Lot
   
  Miltinho



 __________________________________________________


	[[alternative HTML version deleted]]

