validate_distancedata: Validate distance_data

View source: R/misc.R

validate_distancedataR Documentation

Validate distance_data

Description

Make sure that data is a data frame.

Usage

validate_distancedata(distance_data, max_distance)

Arguments

distance_data

User's distance_data argument

max_distance

upper bound on all possible distances

Value

If no error is thrown, the column index for the distance data is returned. If no distance_data is supplied NULL type returned.


Biostatistics4SocialImpact/rstap documentation built on Aug. 1, 2022, 1:15 p.m.