
The “exp” Function in R
To compute the exponential function, i.e., raise Euler’s number (e) to the power of a numeric vector.
The “diff” Function in R
To compute differences between consecutive elements in a numeric vector.
The “anyDuplicated” Function in R
To find the index of the first duplicated element in a vector, data frame, or other structures.
The “duplicated” Function in R
To identify duplicated elements in a vector, data frame, or other structures.
The “unique” Function in R
To extract unique elements from a vector, data frame, or other structures.
The “rank” Function in R
Computes the sample ranks of the values in a numeric vector, with ties getting the average of ranks for the tied values.
The “order” Function in R
Returns the permutation which rearranges its first argument into ascending or descending order, breaking ties by further arguments.
The “sort” Function in R
Sorts the elements of a vector or other indexed data structure in ascending or descending order.
The “rev” Function in R
Reverses the order of elements in a vector or other indexed data structure.