SubsetEcologicalSite: SubsetEcologicalSite

Description Usage Arguments Author(s) Examples

View source: R/SubsetEcologicalSite.R

Description

Subsets national AIM and LMF plots to those that fall within your specified ecological site(s)

Usage

1
SubsetEcologicalSite(TDat_LMF, EcologicalSiteId)

Arguments

TDat_LMF

Combined TerrADat and LMF dataframe (returned object from Combine_AIM_LMF()

EcologicalSiteId

Full ecological site id, list of ecological sites, or object

Author(s)

Rachel Burke, ecologist/analyst @ Jornada

Examples

 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)
}

R-Burke/SiteSummaryTool documentation built on Oct. 15, 2020, 8:21 p.m.