Skip to contents

pres_abs_conversion is an internal function that is used within the nmds_ecosite function. Using presence/absence data will allow you to use data from plots that do not have abundance data. In certain datasets, this is an advantageous feature. When I have used NMDS on moderate sized datasets (i.e., 100+ plots), I have found it to yield similar results as abundance data. This could be different for small datasets.

Usage

pres_abs_conversion(veg_df)

Arguments

veg_df

vegetation dataframe that will be converted to presence/absence.

Value

a presence/absence dataframe

Examples

my_pres_abs <- pres_abs_conversion(veg_df = ecositer::vegetation_dataframe)
#> Error in veg_df %>% dplyr::group_by(vegplotid, plantsciname) %>% dplyr::summarise(sum(akstratumcoverclasspct)) %>%     dplyr::rename(pctcover = `sum(akstratumcoverclasspct)`): could not find function "%>%"
head(my_pres_abs)
#> Error: object 'my_pres_abs' not found