View source: R/morphology_operators.R
extend_boundary | R Documentation |
extend image boundary around territory
extend_boundary(territories, morphology_factor)
territories |
data frame containing x/y and color value of territories to extend |
morphology_factor |
integer or vector of integers describing growth and/or shrink extent. |
we want to avoid clipping territory if they sit at the edge of the image. To avoid this we simply extend the image boundary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.