Convert Object Name to Character String

Count the number of distinct elements in a vector or a matrix.

1 | ```
nDistinct(x)
``` |

`x` |
a vector or a matrix. |

A scalar giving te number of distinct elements in `x`

.

Antoine Filipovic Pierucci

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.