powerset_zones {scanstatistics}R Documentation

Creates a set of all non-empty subsets of the integers from 1 to n.

Description

Creates a list of all 2^(n-1) non-empty subsets of the integers from 1 to n.

Usage

powerset_zones(n)

Arguments

n

An integer larger than 0.

Value

A list of integer vectors.


[Package scanstatistics version 1.1.1 Index]