bufferField | R Documentation |
This function produces a buffer within the target geometry by a specified value.
bufferField(shape, value = c(-1), field = NULL, cex = 1)
shape |
SpatVector. The target geometry to be buffered. Object of class. |
value |
value of the buffer - measured in mapunits. Must be numeric and negative. |
field |
SpatVector. If input, field cropped by target geometry included in output. If field=NULL, only the buffer will be generated. |
cex |
point size. Please check |
bufferField
If field=NULL, the buffer SpatVector is returned. If field provided, list with two elements is returned:
newShape
is the buffer SpatVector.
newField
is the field cropped using the buffered shape, also a SpatVector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.