make_eco_env: Make a dataframe summarising environmental variables per...

View source: R/make_eco_env_imp.R

make_eco_envR Documentation

Make a dataframe summarising environmental variables per cluster.

Description

Optionally include the importance object from random forest.

Usage

make_eco_env(
  clust_df,
  imp_df = NULL,
  clust_col = "cluster",
  env_col = "env",
  env_cols
)

Arguments

clust_df

Dataframe with cluster membership and environmental data.

imp_df

Importance from random forest.

clust_col

Character. Name of column in clust_df with cluster membership.

env_col

Character. Name of column in imp_df with

env_cols

Character. Name of columns in clust_df with environmental data.

Value

Dataframe with clust_col, env_col and summary columns including mean, median, standard deviation and (optionally) importance from random forest.


Acanthiza/envEcosystems documentation built on May 21, 2024, 6:20 p.m.