cast_wrapper: Wrapper for casting tables from long to wide

Usage Arguments Value

View source: R/reshape.R

Usage

1
cast_wrapper(X, row_var, col_var, value_var = NULL, aggregate_fun = "sum")

Arguments

X

The data set to cast

row_var

The variable whose unique values will determine the rows.

col_var

The variable whose unique values will determine the columns.

value_var

The variable to use to fill in the cells of the wide matrix.

aggregate_fun

The name of a function to use to summarize many elements with the same row_var / col_var identification. Must be one of

Value

The wide version of X.


krisrs1128/cleanUtils documentation built on May 20, 2019, 1:26 p.m.