Learn R Programming

scanstatistics (version 1.0.1)

get_zone: Extract a zone from the set of all zones.

Description

Extract zone number \(n\) from the set of all zones.

Usage

get_zone(n, zones)

Arguments

n

An integer; the number of the zone you wish to retrieve.

zones

A list of integer vectors, representing the set of all zones.

Value

An integer vector.

Examples

Run this code
# NOT RUN {
zones <- list(1L, 2L, 3L, 1:2, c(1L, 3L), c(2L, 3L))
get_zone(4, zones)
# }

Run the code above in your browser using DataLab