search for: onpromot

Displaying 1 result from an estimated 1 matches for "onpromot".

Did you mean: nopromote
2017 Sep 15
1
Calculating Weeks Since Last Event
...ave an input data > dput (input) structure(list(ScanDate = structure(c(16433, 16440, 16447, 16454, 16461, 16468, 16475, 16482, 16489, 16496, 16503, 16510, 16517, 16524, 16531, 16538, 16545, 16552, 16559, 16566, 16573, 16580, 16587, 16594, 16601, 16608, 16615, 16622), class = "Date"), OnPromotion = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1)), .Names = c("ScanDate", "OnPromotion"), sorted = "ScanDate", class = c("data.table", "data.frame"), row.names = c(NA, -28L)) I am looking for an output &gt...