Skip to contents

Calculates the total number of analyses using linear models, mixed models, and Bayesian models for each dataset, for a given subset. See prepare_df_for_summarising() for details on the binary variables.

Usage

calc_summary_stats_binary(data, subset_name = character(1L))

Arguments

data

A tibble containing the data to be analysed.

subset_name

A character vector of length 1, the name of the subset of data being analysed.

Value

A tibble containing the sum of binary variables used in analyses of each dataset for a given subset.

Examples

ManyEcoEvo::ManyEcoEvo %>%
  select(data) %>%
  unnest(everything()) %>%
  prepare_df_for_summarising() %>%
  calc_summary_stats_binary("All")
#> Error in unnest(., everything()): could not find function "unnest"