Learn R Programming

tidylog (version 0.2.0)

gather: Wrapper around tidyr::gather that prints information about the operation

Description

Wrapper around tidyr::gather that prints information about the operation

Usage

gather(.data, ...)

Arguments

.data

a tbl; see gather

...

see gather

Value

see gather

Examples

Run this code
# NOT RUN {
# create id
mtcars$id <- 1:nrow(mtcars)
gathered <- gather(mtcars, "col", "data", -id)
#> gather: reorganized (mpg, cyl, disp, hp, drat, <U+2026>) into (col, data) [was 32x12, now 352x3]
# }

Run the code above in your browser using DataLab