spread_keep: Spread, but keep the key column

Description Usage Arguments Value

View source: R/data_frames.R

Description

Spread, but keep the key column

Usage

1
spread_keep(df, key, value, ...)

Arguments

df

data frame

key

bare/unquoted key as in spread

value

bare/unquoted value as in spread

...

additional arguments to spread

Value

spread data frame with key column retained


alexpghayes/hayeslib documentation built on May 5, 2019, 4:47 p.m.