Github user actuaryzhang commented on a diff in the pull request: https://github.com/apache/spark/pull/18481#discussion_r125112058 --- Diff: R/pkg/R/functions.R --- @@ -2844,27 +2869,16 @@ setMethod("ifelse", ###################### Window functions###################### -#' cume_dist -#' -#' Window function: returns the cumulative distribution of values within a window partition, +#' @details +#' \code{cume_dist}: Returns the cumulative distribution of values within a window partition, #' i.e. the fraction of rows that are below the current row. -#' -#' N = total number of rows in the partition -#' cume_dist(x) = number of values before (and including) x / N -#' +#' N = total number of rows in the partition --- End diff -- Fixed with better doc.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org