Description Usage Arguments Details
Checks whether an od object is valid. See details.
1 | od_is_valid(x, verbose = TRUE)
|
x |
od object |
verbose |
should messages be returned about possible invalidations? TRUE by default. |
A valid 'od' object should: contain two list items, 'U' and 'E', and three attributes 'od_id', 'od_orig', and 'od_dest'. The values of these attributes are column names of 'U' ('od_id') and 'E' ('od_orig' and 'od_dest'). 'U' should be an 'sf' object (points or polygons), and 'E' a data.frame (optionally an sf object (lines).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.