Learn R Programming

spbal (version 1.0.1)

removeDuplicates: Remove duplicate values from a NumericVector.

Description

Sort the input numeric vector and removes any duplicate values.

Value

A NumericVector that is sorted with duplicates removed.

Arguments

vec

A NumericVector that may contain duplicate values.

Author

Phil Davies.