powerset_zones: Creates a set of all non-empty subsets of the integers from 1...

View source: R/zone_utility_functions.R

powerset_zonesR 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.


scanstatistics documentation built on Feb. 16, 2023, 10:32 p.m.