[R] Delete NA from a dist object

mel mel at altk.com
Thu Jun 5 15:48:46 CEST 2008

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, ]


More information about the R-help mailing list