paf selects rows of an object depending on a given vector. All elements of the first argument are taken if the corresponding vector element is unequal to 0. Otherwise they are dropped.

Appends an object to the specified list. If the appended object is temporary, the component gets the name el. If the first argument is not a list, it will be changed to a list with itself as first component.

computes a running mean over (2k+1) consecutive values of a given vector. To have the same length at the beginning and at the end the first and last value are repeated k times.

mknn gives an array containing the indices of the k nearest neighbors of each element in matrix y with respect to x. The parameter y is optional, if it is not given, x will be taken for y. As a measure of distance the squared euclidean distance is used.

sort sorts the rows of a matrix. If column c1 is specified the matrix will be sorted with respect to column c1. That is, the rows of the matrix will be arranged in order that elements of column c1 are in ascending (descending) order.