Re: [R] Delete NA from a dist object

From: Birgitle <birgit.lemcke_at_systbot.uzh.ch>
Date: Thu, 05 Jun 2008 07:03:13 -0700 (PDT)

Many thanks.

Is there a way to give me the number of the row, if I have the row name?

B.

mel-10 wrote:
>
> Birgitle a écrit :
>

>> I have a dist object containing 1 row that is only NA (not very
>> intelligent
>> to have bas dataset with one NA species....anyway).
>> I would like to delete this row from this object.

>
> newDistObject = distObject[-unwantedRow, ]
>
> hih
>
> ______________________________________________
> R-help_at_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.
>
>


The art of living is more like wrestling than dancing. (Marcus Aurelius)
-- 
View this message in context: http://www.nabble.com/Delete-NA-from-a-dist-object-tp17670016p17670598.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Thu 05 Jun 2008 - 15:54:55 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 - 16:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive