Jost
Lou Jost's diversity measures are found in the Diversity.Jost package.
Usage
Accessing the main functionality in the package is simple:
julia> using Diversity.Jost julia> ecosystem = [2 2 0; 0 2 2]'; julia> ecosystem /= sum(ecosystem); julia> diversities = jostbeta(ecosystem, [0, 1, 2]) 3×7 DataFrames.DataFrame │ Row │ measure │ q │ type_level │ type_name │ partition_level │ ├─────┼────────────┼───┼────────────┼───────────┼─────────────────┤ │ 1 │ "JostBeta" │ 0 │ "types" │ "" │ "metacommunity" │ │ 2 │ "JostBeta" │ 1 │ "types" │ "" │ "metacommunity" │ │ 3 │ "JostBeta" │ 2 │ "types" │ "" │ "metacommunity" │ │ Row │ partition_name │ diversity │ ├─────┼────────────────┼───────────┤ │ 1 │ "" │ 1.5 │ │ 2 │ "" │ 1.41421 │ │ 3 │ "" │ 1.33333 │
#
Diversity.Jost
— Module.
Lou Jost's diversity measures are found in the Diversity.Jost module.
#
Diversity.Jost.jostalpha
— Method.
jostalpha(proportions::AbstractMatrix, qs)
Calculates Jost's alpha diversity of a series of columns representing independent community counts, for a series of orders, repesented as a vector of qs. This is just the naive-community ecosystem diversity divided by the naive-community beta diversity.
Arguments:
proportions
relative proportions of different individuals / species in population (vector, or matrix where columns are for individual sub-communities)qs
single number or vector of orders of diversity measurement
Returns:
- DataFrame of diversities
#
Diversity.Jost.jostbeta
— Method.
jostbeta(proportions::AbstractMatrix, qs)
Calculates Jost's beta diversity of a series of columns representing independent community counts, for a series of orders, repesented as a vector of qs. This is just the naive gamma diversity divided by Jost's alpha diversity
Arguments:
proportions
relative proportions of different individuals / species in population (vector, or matrix where columns are for individual sub-communities)qs
single number or vector of orders of diversity measurement
Returns:
- DataFrame of diversities
Diversity
Diversity.API
Diversity.Ecology
Diversity.Hill
Diversity.Jost
Diversity.individualDiversity
Diversity.metacommunityDiversity
Diversity.subcommunityDiversity
Diversity.API.AbstractMetacommunity
Diversity.API.AbstractPartition
Diversity.API.AbstractTypes
Diversity.DiversityLevel
Diversity.DiversityMeasure
Diversity.Gamma
Diversity.GeneralTypes
Diversity.Metacommunity
Diversity.NormalisedAlpha
Diversity.NormalisedBeta
Diversity.NormalisedRho
Diversity.Onecommunity
Diversity.PowerMeanMeasure
Diversity.RawAlpha
Diversity.RawBeta
Diversity.RawRho
Diversity.RelativeEntropyMeasure
Diversity.Species
Diversity.Subcommunities
Diversity.Taxonomy
Diversity.UniqueTypes
Diversity.API._calcabundance
Diversity.API._calcordinariness
Diversity.API._calcsimilarity
Diversity.API._countsubcommunities
Diversity.API._counttypes
Diversity.API._getabundance
Diversity.API._getmetaabundance
Diversity.API._getmetaordinariness!
Diversity.API._getordinariness!
Diversity.API._getpartition
Diversity.API._getscale
Diversity.API._getsubcommunitynames
Diversity.API._gettypenames
Diversity.API._gettypes
Diversity.API._getweight
Diversity.API.floattypes
Diversity.API.mcmatch
Diversity.API.typematch
Diversity.Ecology.generalisedjaccard
Diversity.Ecology.generalisedrichness
Diversity.Ecology.generalisedshannon
Diversity.Ecology.generalisedsimpson
Diversity.Ecology.jaccard
Diversity.Ecology.richness
Diversity.Ecology.shannon
Diversity.Ecology.simpson
Diversity.Hill.hillnumber
Diversity.Jost.jostalpha
Diversity.Jost.jostbeta
Diversity.calcsimilarity
Diversity.countsubcommunities
Diversity.counttypes
Diversity.diversity
Diversity.getASCIIName
Diversity.getFullName
Diversity.getName
Diversity.getabundance
Diversity.getmetaabundance
Diversity.getmetaordinariness!
Diversity.getordinariness!
Diversity.getpartition
Diversity.getsubcommunitynames
Diversity.gettypenames
Diversity.gettypenames
Diversity.gettypes
Diversity.getweight
Diversity.inddiv
Diversity.metadiv
Diversity.qD
Diversity.qDZ
Diversity.subdiv