Re: [R] Delete NA from a dist object

From: mel <>
Date: Thu, 05 Jun 2008 16:08:54 +0200

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. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 Jun 2008 - 16:04:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 Jun 2008 - 17:30:37 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive