bounding_ranges | R Documentation |
range()
computes axis-aligned ranges for
Coord1D, Coord2D, and Coord3D class objects.
## S3 method for class 'Coord1D'
range(..., na.rm = FALSE)
## S3 method for class 'Coord2D'
range(..., na.rm = FALSE)
## S3 method for class 'Coord3D'
range(..., na.rm = FALSE)
... |
Coord1D, Coord2D, or Coord3D object(s) |
na.rm |
logical, indicating if |
Either a Coord1D, Coord2D, or Coord3D object of length two. The first element will have the minimum x/y(/z) coordinates and the second element will have the maximum x/y(/z) coordinates of the axis-aligned ranges.
range(as_coord2d(rnorm(5), rnorm(5)))
range(as_coord3d(rnorm(5), rnorm(5), rnorm(5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.