spi_bar_plot_faceted | R Documentation |
spi_bar_plot_faceted
spi_bar_plot_faceted(df, zone)
df |
data.frame |
zone |
zone column to facet by |
typical SPI barplot faceted by zone of choice
## Not run: library(surveyGEER) library(rgee) library(tidyrgee) library(sf) ee_Initialize() # initialize gee #calculate spi spi_3<- ee_chirps_spi(window = 3,window_unit = "month",moi = 4) run zonal stat spi_3_adm1 <- spi_3 |> ee_extract_tidy(y= som_adm1, stat = "median", scale=5500, via="drive") # create bar plot spi_bar_plot_faceted(spi_3_adm1,zone ="admin1name") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.