Learn R Programming

lisp (version 0.1)

pairwise: Combine a list into pairwise elements; lists should be of the same length. In case of odd numbers of members, the last will be removed.

Description

Combine a list into pairwise elements; lists should be of the same length. In case of odd numbers of members, the last will be removed.

Usage

pairwise(list)

Arguments

list
the list to be pairwise decomposed

Value

A list of pairwise elements