create_cells: create_cells

Description Usage Arguments Value

View source: R/create_cells.R

Description

Create a specific tower layer with attached directional cells

Usage

1
2
3
4
5
6
7
8
9
create_cells(
  area.sf,
  tower.dist,
  rotation.deg,
  jitter,
  small = FALSE,
  subscript,
  seed
)

Arguments

area.sf

sf dataframe, focus area with geometry column (tile polygons)

tower.dist

numeric value, distance between towers (e.g., in meters, however in general dimensionless)

rotation.deg

numeric value, layer rotation of directional cells, sectorized, in reference to the northern direction

jitter

numeric value, amount of jitter (e.g., in meters, however in general dimensionless)

small

logical value, TRUE for omnidirectional cell and FALSE for directional cell

subscript

character value, abbreviation for layer id

seed

numeric value, seed for reproducibility

Value

A data frame with antennas of the specfic layer in the rows and the the following columns: point location (x, y), tower.id, cell.id, cell.kind (layer), intra.cell.number (in case of directional cells, three antennas per tower, sectorized), kind of cell (directional or omnidirectional), and rotation degree. This data frame corresponds to an unvalidated cell plan that can be validated with 'create_cellplan()'.


R-ramljak/MNOanalyze documentation built on Dec. 18, 2021, 8:45 a.m.