summarize_numeric: Summarize Numeric Columns with Standard Summary Functions

Description Usage Arguments See Also Examples

Description

Summarize Numeric Columns with Standard Summary Functions

Usage

1

Arguments

data

A dataframe or tibble.

...

(Optional) Numeric columns to summarize.

grouper

(Optional) Group by column.

See Also

tidyeval-compat,select,summarise_all,vars,reexports,group_by_all,group_by

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(tidyverse)
test_data <- 
        tibble(
                Group = sample(c("Apple", "Pear"), size = 10, replace = TRUE),
                A     = sample(c(NA_integer_, 1:3), size = 10, replace = TRUE),
                B     = sample(c(NA_integer_, 4:6), size = 10, replace = TRUE),
                C     = sample(c(NA_real_, seq(from = 6.01, to = 6.09, by = 0.01)), size = 10, replace = TRUE)
        )


summarize_numeric(test_data)
summarize_numeric(test_data, grouper = Group)
summarize_numeric(test_data, A,grouper = Group)
summarize_numeric(test_data, B,grouper = Group)

meerapatelmd/rubix documentation built on Sept. 5, 2021, 8:30 p.m.