View source: R/generate_stats.R
generate_stats | R Documentation |
Calculates diversity index values for each site in a clusterised object.
generate_stats(clusterised_object)
clusterised_object |
An object created by the clusterise_sites function. |
A dataframe where each row pertains to a site and each column has higher taxa labels, time & location data, as well as diversity index values.
# generate species count tables with a minimum of 30 individuals from 5 species
Colombia_Caquetá_dataframe <- subset(Colombia, stateProvince == "Caquetá")
clusterised_Caquetá <- clusterise_sites(dataframe = Colombia_Caquetá_dataframe,
cluster_min_length = 30,
group_radius = 20000
)
stats_Caquetá <- generate_stats(clusterised_Caquetá)
head(stats_Caquetá)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.