describe: Specify descriptors for a table

Description Usage Arguments Value

Description

describe can be used to specify which variables should be described how.

Usage

1
2
3
describe(dscr, with, append = FALSE, ...)

describe_if(dscr, .predicate, with, ...)

Arguments

with

list of descriptors to be used with the selected variables.

...

one or more unquoted expressions separated by commas passed to dplyr's select. All descriptors specified in with are used for the selected variables. Currently not used for describe_if.

.predicate

A predicate function passed to select_if.

descr

describr object; the specified descriptors will be added for the selected variables in dscr.

APPEND

[=FALSE] flag indicating whether previously defined descriptors should be overwritten.

Value

An object of class describr where the defined descriptors are added to the specified variables.


kkmann/describr documentation built on May 29, 2019, 3:38 a.m.