ggEvenness {iNEXT.4steps}R Documentation

ggplot for depicting evenness profiles

Description

ggEvenness is a ggplot2 extension for Evenness object to plot evenness with order q.

Usage

ggEvenness(output)

Arguments

output

output obtained from the function Evenness.

Value

a figure depicting the estimated (or observed) evenness with respect to order q.

Examples

## Evenness profiles for abundance data
# The observed evenness profile for abundance data
data(Data_spider)
Even_out1_obs <- Evenness(data = Data_spider, datatype = "abundance", 
                    method = "Observed", E.class = 1:5)
ggEvenness(Even_out1_obs)


# The estimated evenness profile for abundance data with default sample coverage value
data(Data_spider)
Even_out1_est <- Evenness(data = Data_spider, datatype = "abundance", 
                          method = "Estimated", SC = NULL, E.class = 1:5)
ggEvenness(Even_out1_est)


## Evenness profiles for incidence raw data
# The observed evenness profile for incidence data
data(Data_woody_plant)
Even_out2_obs <- Evenness(data = Data_woody_plant, datatype = "incidence_raw", 
                    method = "Observed", E.class = 1:5)
ggEvenness(Even_out2_obs)


# The estimated evenness profile for incidence data with user's specified coverage value of 0.98
data(Data_woody_plant)
Even_out2_est <- Evenness(data = Data_woody_plant, datatype = "incidence_raw", 
                          method = "Estimated", SC = 0.98, E.class = 1:5)
ggEvenness(Even_out2_est)



[Package iNEXT.4steps version 1.0.1 Index]