[R] Delete NA from a dist object

mel mel at altk.com
Thu Jun 5 16:08:54 CEST 2008


Birgitle a écrit :
> Many thanks.
> Is there a way to give me the number of the row, if I have the row name?
> B.

a= object
'w' = name

 > match('w', names(a))

# or

 > which(names(a)=='w')

# or

but deletion should work with the number and/or with the name.



More information about the R-help mailing list