Skip to content

Commit

Permalink
Updated R documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
falaki committed Jul 31, 2015
1 parent 5e4a4d0 commit 56016f5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions R/pkg/R/DataFrame.R
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ setMethod("distinct",
dataFrame(sdf)
})

#' @title Distinct rows in a DataFrame
#
#' @description Returns a new DataFrame containing distinct rows in this DataFrame
#'
#' @rdname unique
#' @aliases unique
setMethod("unique",
Expand Down Expand Up @@ -552,6 +556,11 @@ setMethod("count",
callJMethod(x@sdf, "count")
})

#' @title Number of rows for a DataFrame
#' @description Returns number of rows in a DataFrames
#'
#' @name nrow
#'
#' @rdname nrow
#' @aliases count
setMethod("nrow",
Expand Down Expand Up @@ -1296,6 +1305,10 @@ setMethod("unionAll",
dataFrame(unioned)
})

#' @title Union two or more DataFrames
#
#' @description Returns a new DataFrame containing rows of all parameters.
#
#' @rdname rbind
#' @aliases unionAll
setMethod("rbind",
Expand Down

0 comments on commit 56016f5

Please sign in to comment.