I have a data like this:
structure(list(ID = 1:4, concept = c("a", "b", "c", "d"), count = c(1L,
2L, 4L, 6L)), class = "data.frame", row.names = c(NA, -4L))
How can I reshape the data to have :
ID a b c d
1 1 0 0 0
2 0 2 0 0
3 0 0 4 0
4 0 0 0 6