distance_coverArea: Calculate the distance between two cover areas in terms of...

Description Usage Arguments Value

View source: R/distance_coverArea.R

Description

This function obtains the number of tiles that are between two cover areas by taking into account that a tile has signal from an antenna in the center of the tile has signal.

Usage

1
distance_coverArea(from, to, emissionProbs, centroidCoord.dt, tile_size)

Arguments

from

The antenna from which the device is going. It has to correspond to the name of a column in emissionProbs.

to

The antenna to which the device is going. It has to correspond to the name of a column in emissionProbs.

emissionProbs

The matrix of emission probabilities.

centroidCoord.dt

A data.table with the information about the coordinates of the center of the tiles (rastercells). The required columns are: rasterCell, centroidCoord_x and centroidCoord_y.

tile_size

The size of each tile in meters.

Value

A numeric value with the number of tiles between the two cover areas.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.