wpGetValuesbyInds: wpGetValuesbyInds get values of pixels by indexes

Description Usage Arguments Value Examples

Description

wpGetValuesbyInds get values of pixels by indexes

Usage

1
2
wpGetValuesbyInds(x, v, tp = "numeric", cores = NULL, minblocks = NULL,
  nl = 1, silent = TRUE)

Arguments

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

Value

raster

Examples

1
wpGetValuesbyInds( x=raster("E:/asm_grid_100m_ccidadminl1.tif"),v=1, cores=4)

wpgp/wpUtilities documentation built on May 29, 2019, 11:58 a.m.