Submitted by: Arun ; Assigned to: Nobody; [R-Forge link](https://r-forge.r-project.org/tracker/index.php?func=detail&aid=5754&group_id=240&atid=978) #### For GForce - [x] gsum, gmean - [x] .N - [x] gmin, max - [x] median - [x] head(.SD, 1), tail(.SD, 1), last(x) - [x] `[` for length-1 subsets - [x] gvar - [x] gsd - [x] gprod - [ ] .SD[which.min()], .SD[which.max()] - [ ] guniqueN - [ ] gpaste?? - [ ] quantile - [ ] covariance - [ ] correlation - [ ] kurtosis - [ ] skewness When `GForce` is upgraded to work with `:=`: - [ ] cumulative functions - [ ] rolling / window functions #### Utility function - [x] lead, lag It should return a list. That is, ``` S x <- 1:5 lag(x, 1:2) # [[1]] # [1] NA 1 2 3 4 # # [[2]] # [1] NA NA 1 2 3 ```