Learn R Programming

warehouseTools (version 0.1.2)

edges_from_aisle: Retrieve Edges from an Aisle

Description

This internal function retrieves the edges (connections) within a specific aisle from a set of arcs. The edges are filtered based on the `x_from` and `x_to` values, and ordered by `y_from`.

Usage

edges_from_aisle(arcs, aisle)

Value

A data frame of edges that correspond to the specified aisle, ordered by the `y_from` values.

Arguments

arcs

A data frame or matrix containing arc data, where each row represents an edge with `x_from`, `x_to`, `y_from`, and `y_to` values.

aisle

An integer representing the aisle number to filter the edges.