summary_stats: Summarise data frames

Usage Arguments Source

View source: R/summary_stats.R

Usage

1
2
3
4
5
6
7
8
summary_stats(
  data = NULL,
  measurevar = NULL,
  groupvars = NULL,
  na.rm = FALSE,
  conf.interval = 0.95,
  drop = TRUE
)

Arguments

data

a data frame

measurevar

the name of a column that contains the variable to be summarised

groupvars

a vector containing names of columns that contain grouping variables

na.rm

a boolean that indicates whether to ignore NAs

conf.interval

the percent range of the confidence interval (default is 95

\item

dropBoolean

Summarizes data by giving count, mean, standard deviation, standard error of the mean, and confidence interval

Source

Taken from the R cookbook (cookbook-r.com/Manipulating_data/Summarizing_data/)


mottensmann/DBChecks documentation built on Feb. 3, 2022, 9:21 p.m.