vg-window.Rd
Interactive window operations
vg_window_sum(x, frame = list(NULL, 0), sort = NULL) vg_window_mean(x, frame = list(NULL, 0), sort = NULL) vg_window_rank(x, frame = list(NULL, 0), sort = NULL) vg_window_count(x, frame = list(NULL, 0), sort = NULL) vg_cumsum(x, sort = NULL) vg_cummean(x, sort = NULL) vg_row_number(x, sort = NULL) vg_rank(x, sort = NULL) vg_dense_rank(x, sort = NULL) vg_percent_rank(x, sort = NULL) vg_cume_dist(x, sort = NULL) vg_ntile(x, n = 1, sort = NULL) vg_lead(x, n = 1, sort = NULL) vg_lag(x, n = 1, sort = NULL)
x | A data variable, used in conjunction with |
---|---|
frame | A list/vector of two elements to indicate the number of data values
preceding and following the current data object. |
sort | A variable for sorting data within a window in ascending order.
|
n | The number of elements. |