From 1f644233cf933083cab2b209436c0cdca77a7b83 Mon Sep 17 00:00:00 2001 From: Yu ISHIKAWA Date: Tue, 23 Jun 2015 14:07:50 +0900 Subject: [PATCH] Modify the comment --- R/pkg/R/column.R | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/R/pkg/R/column.R b/R/pkg/R/column.R index 60d7e8da13c61..8e4b0f5bf1c4d 100644 --- a/R/pkg/R/column.R +++ b/R/pkg/R/column.R @@ -210,10 +210,14 @@ setMethod("cast", } }) -#' Specify multiple values +#' Match a column with given values. #' #' @rdname column -#' @return a matched value as a result of comparing with given values. +#' @return a matched values as a result of comparing with given values. +#' \dontrun{ +#' filter(df, "age in (10, 30)") +#' where(df, df$age %in% c(10, 30)) +#' } setMethod("%in%", signature(x = "Column"), function(x, table) {