wtable: A cousin of table(), appropriate for piping.

Description Usage Arguments

View source: R/rrR.R

Description

This function – identical to with() except for a direct call to table() allows you to pipe to the table function. In practice, this means that you can write df df this function quite dumb – and I don't blame you! – but it does make things slightly faster for me.

Usage

1
wtable(.data, ...)

Arguments

.data

a data frame, tibble, data table, etc. if the object works with the with() function, it works here.

...

variables/arguments to be passed to table().


graiffgarcia/rrR documentation built on April 12, 2021, 5:28 a.m.