Displaying 1 result from an estimated 1 matches for "r007".
Did you mean:
2007
2008 Aug 27
1
Updating a list.
...columns for DayOfYear 3, so the sum is 2. If it helps I have included hints to the data structure that I am working with below.
The parts that are particularly hard for me is how I would simultaneously remove and replace a list and conditionally sum only if a value exists.
Thank you.
Kevin
dput(r007[1])
structure(list("100026" = structure(list(DayOfYear = c(3L, 30L,
149L, 156L, 165L, 171L, 187L, 198L, 212L, 215L, 216L, 218L, 221L,
224L, 226L, 227L), Quantity = c(1L, 1L, 1L, 1L, 2L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L)), .Names = c("DayOfYear", "Quantity"...