SubsetEcologicalSite <- function(TDat_LMF, EcologicalSiteId){
EcoSitePlots <- TDat_LMF[TDat_LMF[["EcologicalSiteId"]] %in% EcologicalSiteId, ]
# Add sagebrush indicator
EcoSitePlots <- EcoSitePlots %>%
mutate(AH_SagebrushCover_Dead = AH_SagebrushCover - AH_SagebrushCover_Live)
return(EcoSitePlots)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.