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

    https://github.com/apache/spark/pull/18786#discussion_r132517801
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -2973,15 +2974,48 @@ setMethod("describe",
                 dataFrame(sdf)
               })
     
    +#' summary
    +#'
    +#' Computes specified statistics for numeric and string columns. Available 
statistics are:
    +#' \itemize{
    +#' \item count
    +#' \item mean
    +#' \item stddev
    +#' \item min
    +#' \item max
    +#' \item 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.
    +#' This function is meant for exploratory data analysis, as we make no 
guarantee about the
    +#' backward compatibility of the schema of the resulting Dataset. If you 
want to
    +#' programmatically compute summary statistics, use the `agg` function 
instead.
    --- End diff --
    
    oh and don't use backtick - it doesn't get process by roxygen2
    use `\code{agg}` instead


---
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

Reply via email to