perm: Produces the possible permutations of a set of nodes

View source: R/helpers.R

permR Documentation

Produces the possible permutations of a set of nodes

Description

Produces the possible permutations of a set of nodes

Usage

perm(max = rep(1, 2))

Arguments

max

A vector of integers. The maximum value of an integer value starting at 0. Defaults to 1. The number of permutation is defined by max's length

Value

A matrix of permutations

Examples


CausalQueries:::perm(3)


CausalQueries documentation built on June 22, 2024, 6:50 p.m.