ggEvenness | R Documentation |
ggEvenness
is a ggplot2
extension for Evenness
object to plot evenness with order q.
ggEvenness(output)
output |
output obtained from the function |
a figure depicting the estimated (or observed) evenness with respect to order q.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.