| prepare_to_shp | R Documentation |
It is a simple wrapper around image_align() and image_crop(). In this case, only the option viewer = "base" is used. To use viewer = "mapview", please, use such functions separately.
prepare_to_shp(img, align = "vertical")
img |
A |
align |
The desired alignment. Either |
An aligned and cropped Image object.
if (interactive() && requireNamespace("EBImage")) {
img <- image_pliman("flax_leaves.jpg")
prepare_to_shp(img)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.