Last chance! 50% off unlimited learning
Sale ends in
method="bilinear"
, in which case values are locally interpolated (using the resample
function).disaggregate(x, fact, ...)
filename
Filename for the output RasterLayer
format
Character. Output file type. See writeRaster
overwrite
if TRUE
, "filename" will be overwritten if it exists
progress
Character. Valid values are "text", "tcltk", "windows" (on that platform only) and ""
}aggregate
r <- raster(ncols=10, nrows=10)
rd <- disaggregate(r, fact=c(10, 5))
ncol(rd)
nrow(rd)
r[] <- 1:ncell(r)
rd <- disaggregate(r, fact=c(10, 5), method='bilinear')
Run the code above in your browser using DataLab