[R] Delete NA from a dist object

Birgitle birgit.lemcke at systbot.uzh.ch
Thu Jun 5 16:03:13 CEST 2008

Many thanks.

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


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.

More information about the R-help mailing list