do_summary: Summarise numerical data into a table and boxplot

Description Usage Arguments Value

View source: R/do_summary.R

Description

This functions takes one or more numerical variables (as quo or quos respectively) and summarises the data as a table and as a plot. Both are returned in a list.

Usage

1
2
3
4
5
6
7
8
9
do_summary(
  this_data,
  this_var,
  col_limit = NULL,
  scale_string = "free",
  missing_data_limit = 10,
  this_function = NA,
  key_for_variables = glossary.key
)

Arguments

this_data

The tibble in which the column exists

this_var

The column name (if not a quosure, it will be made into one)

col_limit

Limit the number of graphs per row in a facet_wrap

scale_string

Whether scales should be free, free_y, free_x etc (default=free)

missing_data_limit

Print warning for any result showing at least this percentage of missing data.

this_function

A label for error/warning messages (by default it is the name of this function).

key_for_variables

Glossary to use for parameters

Value

A list containing (1) table (2) plot


LisaHopcroft/CTutils documentation built on Oct. 7, 2021, 11:08 p.m.