R: Combine-Apply

BASIX.combnapply {BASIX} | R Documentation

## Combine-Apply

### Description

This function applies a specific calculation, defined by the user, to all pairs of entries of a vector.

### Usage

    BASIX.combnapply(vec, mode='*')

### Arguments

`vec` | vector
`mode` | `*,-,/,+ or ==`

### Details

`BASIX.combnapply` returns values for each pair-combination.

### Author(s)

Bastian Pfeifer

### Examples

    vec  <- c(1,3,5,7,9,10)
    BASIX.combnapply(vec)

[Package BASIX version 1.1 Index]