Jan Quets jquets.rsig...@gmail.com writes:
does anybody know how to rescale a spatstat owin window (i.e. multiplying
all x and y coordinates of the polygon boundary with a certain factor)?
scalardilate(W, f)
where W is your window and 'f' is the scaling factor (a single number). This
will
Dear group,
I have a RasterBrick with 16 layers created with the stack command like so:
f - list.files(pattern=*.nc$, recursive=TRUE)
r - raster(f[1], band = 1)
harvest_area - stack(r)
harvest_area@layers - sapply(f, function(x) {r@file@name=x;r})
names(harvest_area) - sub(\\/.*, , f)
and then
Tyler,
It is probably useful to study the vignette that comes with the raster
package if you have not done so. Also please provide a reproducible
example, if possible, and report the error message you get. Presumably
it is: Error in which.min(harvest_area) : not yet implemented for
large