[R] Re moving unwanted double values in list

PDXRugger J_R_36 at hotmail.com
Wed Apr 29 02:21:46 CEST 2009


I have a procedure that goes sorts out some numbers based on specidifed
criteria and for some reason the list contains double values in some of the
rows such as:

TAZs <-

[[84]]
[1] 638

[[85]]
[1] 643

[[86]]
[1] 644 732

[[87]]
[1] 651 801

i would like to check list TAZs for double values and remove any if present. 
I have tried 

if (length(TAZDs==2))
	rm(TAZDs[2])
but no luck.  I cant find nor think of another way.  Any help would be
helpful. Thanks in advance

-- 
View this message in context: http://www.nabble.com/Removing-unwanted-double-values-in-list-tp23288507p23288507.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list