how to calculate spread in r code example
Example: r spread syntax
spread(data, key, value, fill = NA, convert = FALSE, drop = TRUE,
sep = NULL)
spread(data, key, value, fill = NA, convert = FALSE, drop = TRUE,
sep = NULL)