validate_distancedata.Rd
Make sure that data is a data frame.
validate_distancedata(distance_data, max_distance)
distance_data | User's distance_data argument |
---|---|
max_distance | upper bound on all possible distances |
If no error is thrown, the column index for the distance data is returned. If no distance_data is supplied NULL type returned.