from_xyz | R Documentation |
This function is very liberal, it simply finds unique x values and unique y values, sorts them and finds the minimum difference between the points, then checks that rounded ratio of differences to this minimum is 1.
from_xyz(xyz, digits = 5)
xyz |
set of points xy or xyz (matrix or data frame) |
digits |
argument passed to |
The points can be the full grid set, a partial set, or a superset of the grid. The resolution will simply be
the smallest actual difference found. (Zero is not possible because we sort(unique(...))
).
The z-column if present is ignored.
list with elements 'dimension', 'extent'
from_xyz(vaster_long(c(10, 5), c(0, 10, 0, 5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.