Unique() Function in R
Unique() function in R Programming Language it is used to return a vector, data frame, or array without any duplicate elements/rows. Syntax: unique(x, incomparables, fromLast, nmax, â¦,MARGIN) Parameters: This function accepts some parameters which are illustrated below: x: This parameter is a vector