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