Description Usage Arguments Value Examples
From a vegetation matrix with x
and y
columns (or lat
/long
), generate a bounding box to be used for the loc
parameter in the neotoma
function get_dataset()
.
1 | bbox_tran(x, coord_formula = "~ x + y", from, to)
|
x |
A |
coord_formula |
The formula, as a string |
from |
The object |
to |
The target |
A numeric
vector, of length 4.
1 2 3 4 5 6 7 | {
data(plss_vegetation)
pol_box <- bbox_tran(plss_vegetation, '~ x + y',
'+init=epsg:3175',
'+init=epsg:4326')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.