Description Usage Arguments Value Examples

View source: R/descriptive-utils.R

This function is a lightweight wrapper to `dplyr`

's `summarize`

function.
It can be used to calculate any descriptive or summary statistic for any
variable in the data set. Optionally, a `by`

grouping variable can be used,
and then the summary statistics are calculated for each subgroup defined by
the different values of the `by`

variable.

1 |

`data` |
A data frame |

`by` |
A grouping variable. If included, the |

`...` |
Arguments of functions applied to variables, e.g. |

A tibble data frame with each row providing descriptive statistics
for selected variables for each value of the grouping `by`

variable.

1 2 |

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.