summ_boxplot: Summary with 'boxplot.stats'

View source: R/summ_boxplot.R

summ_boxplotR Documentation

Summary with boxplot.stats

Description

Summary with boxplot.stats.

Usage

summ_boxplot(
  data,
  box_var = "ratio_log",
  group_var = NULL,
  prune_var = NULL,
  is_log = TRUE,
  coef = 1.5
)

Arguments

data

Dataframe.

box_var

Name of variable used by boxplot.stats.

group_var

Name of grouping variable. If NULL, the summary will only have one line for all rows, without grouping.

prune_var

Name of variable with prune id. If NULL, no filter is used to remove pruned rows.

is_log

TRUE: Convert computations with exp.

coef

Numeric constant to determine how far the whisker extends. If zero, the whiskers will extend to extremes and no outlier will be returned. See grDevices::boxplot.stats for more details.

Details

The summary allows to exclude pruned data from the stats.

Value

Data.frame with boxplot.stats by group_var.

Source

https://stackoverflow.com/questions/56669653/boxplot-stats-in-dplyr-with-groups

See Also

grDevices boxplot.stats


FrankLef/eflMuncher documentation built on July 9, 2022, 11:43 a.m.