cume_dist {SparkR} | R Documentation |
Window function: returns the cumulative distribution of values within a window partition, i.e. the fraction of rows that are below the current row.
## S4 method for signature 'missing' cume_dist() cume_dist(x)
N = total number of rows in the partition cume_dist(x) = number of values before (and including) x / N
This is equivalent to the CUME_DIST function in SQL.
Other window_funcs: dense_rank
,
dense_rank
; lag
,
lag
; lead
,
lead
; ntile
,
ntile
; percent_rank
,
percent_rank
; rank
,
rank
; row_number
,
row_number
## Not run: cume_dist()