validate_df | R Documentation |
If values included in all three columns are numeric 1 is returned
If values included in first and second column are character and third includes numeric values 2 is returned
Otherwise, this is not a valid data frame, error is generated
Function validates data frame with distance cases (point1,point2,distance)
If values included in all three columns are numeric 1 is returned
If values included in first and second column are character and third includes numeric values 2 is returned
Otherwise, this is not a valid data frame, error is generated
validate_df(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.