Set the upper bounds in the z-dimension for each location in the x and y dimensions to a constant value.
2D or 3D MKDE object created with
The value at which the upper bound should be set for all locations in the x and y dimensions.
Obviously, the upper bound must be greater than the lower bound.
An updated MKDE list object is returned.
1 2 3 4 5 6 7 8 9
library(raster) data(dugongdem) cell.sz <- mean(res(dugongdem)) ext <- extent(dugongdem) nx <- ncol(dugongdem) ny <- nrow(dugongdem) mkde.obj <- initializeMKDE3D(ext@xmin, cell.sz, nx, ext@ymin, cell.sz, ny, min(values(dugongdem), na.rm=TRUE), 50.0, 15) mkde.obj <- setMaximumZfromConstant(mkde.obj, 100.0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.