dot-summary_table_4_4 function

Summary wrapper for Table 4.4

Summary wrapper for Table 4.4

This internal function creates a summary of the data frame for Table 4.4. It groups the data by the variables specified in group_by and calculates various summary statistics.

.summary_table_4_4(df, group_by)

Arguments

  • df: A data frame.
  • group_by: A character vector of names of variables by which to group the data.

Returns

A data frame with the summary statistics.

Examples

df <- data.frame(group = c("A", "A", "B", "B"), utility = c(0.5, 0.7, 0.8, 0.9)) .summary_table_4_4(df, group_by = "group")
  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links