Description Usage Arguments Author(s) Examples
View source: R/SubsetEcologicalSite_Species.R
Subsets national AIM and LMF species indicators by plot to those that fall within your specified ecological site(s)
1 | SubsetEcologicalSite_Species(EcoSitePlots, Species_Indicator)
|
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(). |
Rachel Burke, ecologist/analyst @ Jornada
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.