Description Usage Arguments Examples
imports multiple png file an maks to the specific horizont position
1 | multiple_png(shape_temp, path_temp, ...)
|
shape_temp |
a simple feature with the same length of "path_temp" |
path_temp |
a character string with the path of each texture .png |
... |
is passed to function png_import |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(dplyr)
library(ggplot2)
sf_example <- soilprofile2::soil_example_sf
str_Bvh <- system.file("extdata", "broeckel.png", package = "soilprofile2")
str_BvCv <- system.file("extdata", "prismen.png", package = "soilprofile2")
str_all <- multiple_png(sf_example[c(2,3), ], c(str_Bvh, str_BvCv))
sf_example %>%
ggplot() +
geom_sf(fill = sf_example$rgb_col) +
geom_sf(data = str_all, fill = "black") +
soil_theme()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.