summary_stats: Calculate summary statistics for tidycyte data

Description Usage Arguments Examples

View source: R/summary_stats.R

Description

Gives n, mean, standard deviation, standard error of the mean, and confidence interval.

Usage

1
summary_stats(.data, measurevar, ..., .ci = 0.95, .na.rm = FALSE)

Arguments

.data

A data frame containing tidycyte data.

measurevar

<data-masking> The masked name of the column containing tidycyte values. Typically this will be named value.

...

<data-masking> The masked names of the grouping variables for summary statistics. Values sharing each of these parameters will be grouped together for calculating statistics. Typically will be elapsed,treatment,cell,metric.

.ci

Numeric value specifying the confidence interval range as a fraction. Defaults to 0.95.

.na.rm

A boolean that indicates whether to ignore NA values. Defaults to FALSE.

Examples

1
df %>% summary_stats(value,elapsed,treatment,cell,metric,.ci = 0.95)

hodgeslab/tidycyte documentation built on Dec. 20, 2021, 4:47 p.m.