Description Usage Arguments Author(s) Examples
View source: R/SubsetEcologicalSite.R
Subsets national AIM and LMF plots to those that fall within your specified ecological site(s)
1 | SubsetEcologicalSite(TDat_LMF, EcologicalSiteId)
|
TDat_LMF |
Combined TerrADat and LMF dataframe (returned object from Combine_AIM_LMF() |
EcologicalSiteId |
Full ecological site id, list of ecological sites, or object |
Rachel Burke, ecologist/analyst @ Jornada
1 2 3 4 5 6 7 8 9 10 11 12 | EcoSitePlots <- SubsetEcologicalSite(TDat_LMF, EcologicalSiteId)
## The function is currently defined as
function (TDat_LMF, EcologicalSiteId){
EcoSitePlots <- TDat_LMF[TDat_LMF[["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.