Description Usage Arguments Examples

View source: R/summary_stats.R

Functions from dplyr are used to automate the process of calculating basic summary statistics on a data frame. Returned statistics include mean, standard deviation, standard error, count, and 95 confidence intervals from a normal distribution (summary_stats) and from a t-distribution (summary_stats.t)

1 | ```
summary_stats(data, measure, ...)
``` |

`data` |
a data frame |

`measure` |
a numeric variable. Response variable - summary statistics will be returned for this variable |

`...` |
a factor variable, or group of factor variables. Data frame will be grouped by this variable, and summary statistics will be produced for each group |

1 2 3 | ```
data(iris)
summary_stats(iris, measure = Sepal.Length)
summary_stats(iris, measure = Sepal.Length, Species)
``` |

condwanaland/summariser documentation built on May 13, 2019, 9:55 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.