Make a description for an ecosystem
make_eco_desc(
bio_df,
bio_wide,
clust_df,
ind_val_df = NULL,
context,
clust_col = "cluster",
taxa_col = "taxa",
cov_col = "cover_adj",
ind_abu_col = "use_cover",
str_col = "lifeform",
lustr,
taxonomy,
use_prop_thresh = 0.8,
use_p_val = 0.05,
n_ind_max = 3,
ind_val_iter = 3000,
wt_ht_quant = 0.5,
sites_sf_quant = 0.75,
ht_sf_quant = 0.5,
sites_sf_taxa_quant = 0.95
)
Dataframe containing the site and taxa data in long format.
Wide version of bio_df
.
Dataframe with context
column(s) and a column with cluster
membership for that context. Optional if clust_col
appears in bio_df.
Result from envCluster::make_ind_val_df()
. If not
provided it will be made from the other provided dfs (which is slow).
Character. Name(s) of column(s) that define the context.
Character. Name of column containing cluster membership.
Character. Name of column containing the taxa names.
Character. Name of column containing numeric abundance data ( usually 'cover' for plants).
Character. Name of column containing numeric abundance
data for use in indicator analysis (labdsv::indval()
). This can be the same
as cov_col
but at times a different measure of abundance is helpful here.
Character name of column in bio_df
containing lifeform (or
structural) information.
Dataframe containing lifeform (structural) information.
Dataframe containing indigenous status of taxa in bio_df
Numeric. Threshold (proportion) for taxa to include in
description. Taxa that occur in more than use_prop_thresh
proportion of
sites in the cluster will be included in the description.
Numeric 0 to 1. The p-value to use to accept a taxa as an indicator for an ecosystem.
Maximum number of taxa to list as indicators.
Passed to the ...
argument of
envCluster::make_ind_val_df()
, and then into the numitr
argument of
labdsv::indval()
.
Numeric. Threshold (quantile) of weighted heights per site that are allowed through to further definition analysis.
Numeric. Threshold (quantile) of counts above which to select structural features for the description.
Numeric. Threshold (quantile) of heights above which to select structural features for the description.
Numeric. Threshold (quantile) of counts above which a taxa will be used as an example of a structural feature.