multiplyr (version 0.1.1)

transmute: Change variables and drop all others

Description

This function works like a combination of mutate and select: it may be used to modify values in a data frame, and then drops any column not explicitly specified

Usage

transmute(.self, ...)
transmute_(.self, ..., .dots)

Arguments

.self
Data frame
...
Additional parameters
.dots
Workaround for non-standard evaluation

Value

Data frame

See Also

Other data manipulations: mutate, nsa, reduce, summarise, within_group, within_node

Examples

Run this code

dat <- Multiplyr (x=1:100, y=100:1)
dat %>% mutate (x=x*2)
dat %>% shutdown()

Run the code above in your browser using DataLab