spread_ {tidyr} | R Documentation |
spread
.This is a S3 generic.
spread_(data, key_col, value_col, fill = NA, convert = FALSE, drop = TRUE)
data |
A data frame. |
key_col, value_col |
Strings giving names of key and value cols. |
fill |
If set, missing values will be replaced with this value. Note
that there are two types of missingness in the input: explicit missing
values (i.e. |
convert |
If |
drop |
If |