compute.comb: Create a list containing all combinaisons of n cameras

View source: R/3_Compute_combinaisons_functions.R

compute.combR Documentation

Create a list containing all combinaisons of n cameras

Description

This function computes a list which contains all combinaisons of n cameras: all single cameras, then all pairs of cameras, then all triplets of cameras etc with no repetition. This function is based on: https://yihui.org/cn/2007/04/generate-all-combinations-of-n-elements-in-r/

Usage

compute.comb(vect_cam)

Arguments

vect_cam

a vector containing all camera names such as: c("A1", "A2", "B1", "B2", "C1", "C2", "D", "E", "F", "G", "H", "I")

Value

the function returns a list with all combinaisons


CmlMagneville/SmaxNanalysis documentation built on Jan. 28, 2024, 11:20 p.m.