Dear all, please help with what must be a straightforward question which I 
can't answer.
   
  I add a column of my dataframe as factor of an existing column e.g.
   
  df[,5] <- factor(df[,2])
   
  and can test that it is by is.factor()
   
  but if I did not know in advance what "types" the columns were, is there a 
function to tell me what they are.
   
  i.e. instead of is.factor(), is.matrix(), is.list(), a function more like 
what.is()
   
   
   

       
---------------------------------

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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