spread
.spread_(data, key_col, value_col, fill = NA, convert = FALSE, drop = TRUE)
TRUE
, type.convert
with
asis = TRUE
will be run on each of the new columns. This is
useful if the value column was a mix of variables that was coerced to
a string.FALSE
, will keep factor levels that don't appear
in the data, filling in missing combinations with fill
.