aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Cheung <felixcheung_m@hotmail.com>2016-06-20 12:31:00 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-06-20 12:31:00 -0700
commitaee1420eca64dfc145f31b8c653388fafc5ccd8f (patch)
treefe646c3083216b9a3a9a391aee7358aa7a37b94e
parent46d98e0a1f40a4c6ae92253c5c498a3a924497fc (diff)
downloadspark-aee1420eca64dfc145f31b8c653388fafc5ccd8f.tar.gz
spark-aee1420eca64dfc145f31b8c653388fafc5ccd8f.tar.bz2
spark-aee1420eca64dfc145f31b8c653388fafc5ccd8f.zip
[SPARKR] fix R roxygen2 doc for count on GroupedData
## What changes were proposed in this pull request? fix code doc ## How was this patch tested? manual shivaram Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #13782 from felixcheung/rcountdoc.
-rw-r--r--R/pkg/R/group.R4
1 files changed, 3 insertions, 1 deletions
diff --git a/R/pkg/R/group.R b/R/pkg/R/group.R
index eba083fe4b..65b9e841be 100644
--- a/R/pkg/R/group.R
+++ b/R/pkg/R/group.R
@@ -58,7 +58,7 @@ setMethod("show", "GroupedData",
#'
#' @param x a GroupedData
#' @return a SparkDataFrame
-#' @rdname agg
+#' @rdname count
#' @export
#' @examples
#' \dontrun{
@@ -83,6 +83,7 @@ setMethod("count",
#' @rdname summarize
#' @name agg
#' @family agg_funcs
+#' @export
#' @examples
#' \dontrun{
#' df2 <- agg(df, age = "sum") # new column name will be created as 'SUM(age#0)'
@@ -160,6 +161,7 @@ createMethods()
#' @return a SparkDataFrame
#' @rdname gapply
#' @name gapply
+#' @export
#' @examples
#' \dontrun{
#' Computes the arithmetic mean of the second column by grouping