review | R Documentation |
Review validity of elements of "coords"
and "waypoints"
objects.
review(x, ...)
## S3 method for class 'coords'
review(x, ..., show_n = 20L)
## S3 method for class 'waypoints'
review(x, ..., show_n = 20L)
x |
object of class |
... |
further arguments passed to or from other methods. |
show_n |
|
review()
reveals elements of "coords"
and "waypoints"
objects that do not
conform to the criteria checked by validate()
, i.e. are not valid geographic
locations.
The review()
method for class "coords"
returns a list
comprising the following elements: -
allvalid |
|
n_invalid |
|
invalids |
|
which_invalid |
|
The method for class "waypoints"
returns a list of two sub-lists, each sub-list with
elements as described above for the method for class "coords"
, one each for latitude and
longitude.
"coords"
and "waypoints"
.
Other validate:
validate()
## Continuing example from `validate()`...
## Review "coords" object in degrees and minutes, having
## an erroneous first value of more than 60 minutes
review(dm)
###
## Continuing example from `validate()`...
## Review "waypoints" object in decimal degrees, having an erroneous
## penultimate latitude absolute value greater than 90 degrees
review(wp)
rm(dm, wp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.