You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by felixcheung <gi...@git.apache.org> on 2017/08/01 03:45:13 UTC

[GitHub] spark pull request #18786: [SPARK-21584][SQL][SparkR] Update R method for su...

Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18786#discussion_r130514066
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -2973,15 +2974,51 @@ setMethod("describe",
                 dataFrame(sdf)
               })
     
    +#' summary
    +#'
    +#' Computes specified statistics for numeric and string columns.
    +#'
    +#' Available statistics are:
    +#'
    +#' - count
    +#' - mean
    +#' - stddev
    +#' - min
    +#' - max
    +#' - arbitrary approximate percentiles specified as a percentage (eg, 75%)
    +#'
    +#' If no statistics are given, this function computes count, mean, stddev, min,
    +#' approximate quartiles (percentiles at 25%, 50%, and 75%), and max.
    --- End diff --
    
    also, don't use empty line - like #' - the 2nd one becomes the "details" section in the doc as formatted by roxygen2


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org