summarise_data: Performing summarising computations

Description Usage Arguments Details Value

Description

This function is designed as a mid-level interface to perform summarising computations. It requaries to define grouping (with the g parameter, which should be given as a name/symbol) and allows to define filtering, that will be done before performing computations (with the f parameter, which should be given as a call). Computations to be performed should be given in a dplyr style, that is as calls.

Usage

1
summarise_data(x, g, f = TRUE, joinTo = NULL, ...)

Arguments

x

data (to be summarised)

g

grouping variable provided as a name (symbol)

f

optionally a call defining filtering to be done before computations

joinTo

optionally a data frame to which computed summary statistics should be (left-) joined (if defined, function will return a joined object)

...

calls describing computations to be performed

Details

In a function call as a parameter g typically will be given an object returned by ensym or enexpr functions.

Value

Tibble.


ZajacT/ASIA1 documentation built on May 30, 2019, 4 p.m.