state_diversity_counts {APCalign} | R Documentation |
State- and territory-level diversity
Description
For Australian states and territories, use geographic distribution data from the APC to calculate state-level diversity for native, introduced, and more complicated species origins
Usage
state_diversity_counts(state, resources = load_taxonomic_resources())
Arguments
state |
A character string indicating the Australian state or territory to calculate the diversity for. Possible values are "NSW", "NT", "Qld", "WA", "ChI", "SA", "Vic", "Tas", "ACT", "NI", "LHI", "MI", "HI", "MDI", "CoI", "CSI", and "AR". |
resources |
the taxonomic resources required to make the summary statistics. loading this can be slow, so call load_taxonomic_resources separately to greatly speed this function up and pass the resources in. |
Value
A tibble of diversity counts for the specified state or territory, including native, introduced, and more complicated species origins. The tibble has three columns: "origin" indicating the origin of the species, "state" indicating the Australian state or territory, and "num_species" indicating the number of species for that origin and state.
See Also
Other diversity methods:
create_species_state_origin_matrix()
,
native_anywhere_in_australia()
Examples
state_diversity_counts(state = "NSW")