Learn R Programming

BASIX (version 1.2)

BASIX.combnapply: 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.

Examples

Run this code
# NOT RUN {
vec  <- c(1,3,5,7,9,10)
BASIX.combnapply(vec)

# }

Run the code above in your browser using DataLab