get_direction_metric: get direction metric

View source: R/get_direction_metric.R

get_direction_metricR Documentation

get direction metric

Description

get direction metric

Usage

get_direction_metric(d1, a1, direction)

Arguments

d1

part of d_part with data_gid

a1

part of d_part with attr_gid

direction

direction name (compatible with unpivotr) should be one of get_unpivotr_direction_names

Details

Used internally by get_direction function

Value

a scaled fraction denoting coverage (1 means full coverage) for the supplied direction.


r-rudra/tidycells documentation built on July 19, 2022, 5:10 a.m.