find_closest_dam: find_closest_dam

View source: R/functions.R

find_closest_damR Documentation

find_closest_dam

Description

finds the dam that is closest in terms of purposes served and Euclidean distance

Usage

find_closest_dam(dam_attr, other_dams, distance_only = FALSE)

Arguments

dam_attr

attributes of target dam

other_dams

table of attributes for possible canditate dams to replicate

distance_only

allows for use of closest distance only (disregarding purpose)

Value

GRAND_ID of the target dam


IMMM-SFA/starfit documentation built on Oct. 23, 2022, 7:19 a.m.