Description Usage Arguments Value
Must supply a raster so that points can be converted to the cells on a raster.
It is assumed that the sizeCol
is accurate.
If not, it should be recalculated before this function call.
1 2 3 4 5 6 7 8 | makeLociList(
ras,
pts,
idsCol = "NFIREID",
dateCol = "YEAR",
sizeCol = "POLY_HA",
sizeColUnits = "ha"
)
|
ras |
A raster that will be the template for cells (pixel ids) |
pts |
A list of |
idsCol |
Character string identifying column name in |
dateCol |
Character string identifying column name in |
sizeCol |
Character string identifying column name in |
sizeColUnits |
Character string. Either |
A list of data.table objects, each with 4 columns, "size"
(in pixels), "date"
,
"ids"
from idsCol
, and "cells"
, which are the pixel indices of the
pts
points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.