SubsetEcologicalSite_Species: SubsetEcologicalSite_Species

Description Usage Arguments Author(s) Examples

View source: R/SubsetEcologicalSite_Species.R

Description

Subsets national AIM and LMF species indicators by plot to those that fall within your specified ecological site(s)

Usage

1
SubsetEcologicalSite_Species(EcoSitePlots, Species_Indicator)

Arguments

EcoSitePlots

Combined TerrADat and LMF dataframe, subset to your ecological site. Returned object from consecutive Combine_AIM_LMF and SubsetEcologicalSite functions. This is required to obtain a list of PrimaryKeys associated with each plot within the specified ecological site(s).

Species_Indicator

Combined AIM and LMF species indicator. Returned object from Combine_AIM_LMF_Species().

Author(s)

Rachel Burke, ecologist/analyst @ Jornada

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (EcoSitePlots, Species_Indicator)
{
    EcoSite_PKs <- EcoSitePlots$PrimaryKey
    Species_plots_ecosite <- Species_Indicator[(Species_Indicator[["PrimaryKey"]] %in%
        EcoSite_PKs), ]
    return(Species_plots_ecosite)
  }

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