Learn R Programming

tidycells (version 0.2.2)

get_direction_metric: 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

Value

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

Details

Used internally by get_direction function