Checks to make sure that the weight field
is populated correctly
Usage
weight_check(weight, dyad_data)
Arguments
- weight
user inputted object for weight
and NULL by default
- dyad_data
data.frame in which weight
values are located
Value
returns a NULL object but stops the process
if there is an error detected
Author
Ha Eun Choi, Shahryar Minhas