Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setkey(HabList[[loc]], tQile, fish.yr)
- HabList[[loc]] <- HabList[[loc]][,.SD[order(tQile, fish.yr)]]
- HabList[[loc]][, DD := cumsum(temp.degC), by=c('tQile','fish.yr')]
- HabList[[loc]][,.(temp.degC, DD)]
- temp.degC DD
- HabList[[loc]][, DD := lapply(temp.degC, 'cumsum'), by=c('tQile','fish.yr')]
- HabList[[loc]][,.(temp.degC, DD)]
- temp.degC DD
Add Comment
Please, Sign In to add comment