CommunityClimateInput-class {comclim}R Documentation

Class "CommunityClimateInput"

Description

A class used to compactly store input for community climate analysis. Can be plotted.

Objects from the Class

Objects can be created by calls of the form new("CommunityClimateInput", ...).

Slots

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.

See Also

plot.CommunityClimateInput

Examples

community_richness_5 <- generatedemodata()

summary(community_richness_5)

[Package comclim version 0.9.6 Index]