Description Usage Arguments Value Examples
wpGetValuesbyInds get values of pixels by indexes
1 2 | wpGetValuesbyInds(x, v, tp = "numeric", cores = NULL, minblocks = NULL,
nl = 1, silent = TRUE)
|
x |
Raster* object |
v |
indexes of the pixels to be replace with value v |
tp |
Type of the data to be return. Numberic or |
cores |
Integer. Number of cores for parallel calculation |
minblocks |
Integer. Minimum number of blocks. If NULL then it will be calculated automaticly |
nl |
Integer. param to controle min number of blocks during paralisation |
silent |
If FALSE then the progress will be shown |
raster
1 | wpGetValuesbyInds( x=raster("E:/asm_grid_100m_ccidadminl1.tif"),v=1, cores=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.