Learn R Programming

nbastatR (version 0.1.110202031)

spread_data: Spread gathered data frame

Description

Spread gathered data frame

Usage

spread_data(data, variable_name = "item", value_name = "value",
  perserve_order = TRUE, unite_columns = NULL, seperate_columns = NULL)

Arguments

data

a data_frame

variable_name

name of variable vector

value_name

name of value vector

perserve_order

if TRUE perserve order

seperate_columns

Value

a data_frame