get_direction_metric: get direction metric

Description Usage Arguments Details Value

View source: R/get_direction_metric.R

Description

get direction metric

Usage

1
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.


tidycells documentation built on March 26, 2020, 7:35 p.m.