MINI MINI MANI MO
%
% Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
%
\name{n_distinct}
\alias{n_distinct}
\title{Number of Unique Values in an \code{ore.vector} Object}
\usage{
n_distinct(x, na_rm = FALSE)
}
\arguments{
\item{x}{An \code{\link[OREbase:ore.frame-class]{ore.vector}} object.}
\item{na_rm}{Specifies whether to include NA value.}
}
\description{
Counts the number of unique values in an \code{ore.vector} object.
}
\examples{
x <- sample(1:10, 1e5, rep = TRUE)
X <- ore.push(x)
length(unique(X))
n_distinct(X)
}
OHA YOOOO