Maybe I had to write that the original data what I read are name 20_1_TT_Z_e4 20_2_TT_Z_e4 A1 102 22 A2 103 21 A3 107 20 Thatk you!
Neuer Arkadasch <[EMAIL PROTECTED]> schrieb: Hi everyone, I read the following data > setwd("d:/") > mydata <- read.table("mydata.txt", header=T) > attach(mydata) > mydata name X20_1_TT_Z_e4 X20_2_TT_Z_e4 1 A1 102 22 2 A2 103 21 3 A3 107 20 > name [1] A1 A2 A3 Levels: A1 A2 A3 > mode(name) [1] "numeric" Why name is a factor and numeric? and why I do have X before the variable namin X20_1_TT_Z_e4? Is it possbile to have it as 20_1_TT_Z_e4 ? --------------------------------- Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker. --------------------------------- Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker. [[alternative HTML version deleted]]
______________________________________________ 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.