| CommunityClimateInput-class | R Documentation |
"CommunityClimateInput"A class used to compactly store input for community climate analysis. Can be plotted.
Objects can be created by calls of the form new("CommunityClimateInput", ...).
species_list_tinf:Object of class "character". The names of species in the local community at tinf.
regional_pool_tinf:Object of class "character". The names of species in the the regional pool for the local community at tinf.
regional_pool_weights_tinf:Object of class "numeric" A numeric vector with same length as regional_pool_tinf, corresponding to sampling weights at tinf. Does not need to sum to one; will be normalized. If left empty, will be auto-filled with all 1s (i.e. uniform sampling).
climate_niches_tinf:Object of class "data.frame". A dataframe with climate niche information for all species in the local community and regional pool at tinf. Should have a taxon column, and then any number of other columns corresponding to climate axes. Each row represents an observation of the species with a given taxon name. Usually you will fill this dataframe by mapping geographic occurrences of species into climate space.
observed_climate_tobs:Object of class "numeric" A named numeric vector with names corresponding to the same climate axes as in climate_niches_tinf. Represents the observed climate at tobs.
plot.CommunityClimateInput
community_richness_5 <- generatedemodata()
summary(community_richness_5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.