Calculate summary statistics for numeric summary variables
Source:R/calculate_descriptive_statistics.R
calc_summary_stats_numeric.Rd
Calculates the mean, standard deviation, minimum and maximum for each numeric summary variable (See prepare_df_for_summarising()
).
for numeric variables used in analyses of each dataset, for a given subset. Summary statistics are aggregated across variable type \(Number of fixed variables within the analysis, number of random variables within the analysis, analysis samplesize, number of interaction terms within the analysis\).
Usage
calc_summary_stats_numeric(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 mean, standard deviation, minimum and maximum values for each numeric variable used in analyses of each dataset for a given subset.
Examples
ManyEcoEvo::ManyEcoEvo %>%
select(data) %>%
unnest(everything()) %>%
prepare_df_for_summarising() %>%
calc_summary_stats_numeric("All")
#> Error in unnest(., everything()): could not find function "unnest"