diff --git a/R/extract_column_names.R b/R/extract_column_names.R index b1cb54f35..4c469b330 100644 --- a/R/extract_column_names.R +++ b/R/extract_column_names.R @@ -13,6 +13,10 @@ #' vector of variable names (e.g., `c("col1", "col2", "col3")`), or a #' character vector of variable names including ranges specified via `:` #' (e.g., `c("col1:col3", "col5")`), +#' - for some functions, like `data_select()` or `data_rename()`, `select` can +#' be a named character vector. In this case, the names are used to rename +#' the columns in the output data frame. See 'Details' in the related +#' functions to see where this option applies. #' - a formula with variable names (e.g., `~column_1 + column_2`), #' - a vector of positive integers, giving the positions counting from the left #' (e.g. `1` or `c(1, 3, 5)`), diff --git a/man/adjust.Rd b/man/adjust.Rd index 313402b90..edc01ada2 100644 --- a/man/adjust.Rd +++ b/man/adjust.Rd @@ -47,6 +47,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/assign_labels.Rd b/man/assign_labels.Rd index 574730e7b..1753827ee 100644 --- a/man/assign_labels.Rd +++ b/man/assign_labels.Rd @@ -42,6 +42,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/categorize.Rd b/man/categorize.Rd index aaca6014c..c03ce119e 100644 --- a/man/categorize.Rd +++ b/man/categorize.Rd @@ -93,6 +93,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/center.Rd b/man/center.Rd index 691f10839..7fee0c8d8 100644 --- a/man/center.Rd +++ b/man/center.Rd @@ -76,6 +76,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/convert_na_to.Rd b/man/convert_na_to.Rd index 369e3937d..6e32664e0 100644 --- a/man/convert_na_to.Rd +++ b/man/convert_na_to.Rd @@ -45,6 +45,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/convert_to_na.Rd b/man/convert_to_na.Rd index f56fdd7da..ea2dbb2cd 100644 --- a/man/convert_to_na.Rd +++ b/man/convert_to_na.Rd @@ -48,6 +48,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_codebook.Rd b/man/data_codebook.Rd index 4fcddc1ff..c2f364ff8 100644 --- a/man/data_codebook.Rd +++ b/man/data_codebook.Rd @@ -38,6 +38,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_duplicated.Rd b/man/data_duplicated.Rd index 30d8a455d..b260254d0 100644 --- a/man/data_duplicated.Rd +++ b/man/data_duplicated.Rd @@ -24,6 +24,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_extract.Rd b/man/data_extract.Rd index 91b5ee29a..dd60b0286 100644 --- a/man/data_extract.Rd +++ b/man/data_extract.Rd @@ -31,6 +31,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_group.Rd b/man/data_group.Rd index c360f7b5e..bc26bf068 100644 --- a/man/data_group.Rd +++ b/man/data_group.Rd @@ -28,6 +28,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_peek.Rd b/man/data_peek.Rd index 5d5e2e18e..c6123d7db 100644 --- a/man/data_peek.Rd +++ b/man/data_peek.Rd @@ -31,6 +31,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_prefix_suffix.Rd b/man/data_prefix_suffix.Rd index eab848058..d3212c1c7 100644 --- a/man/data_prefix_suffix.Rd +++ b/man/data_prefix_suffix.Rd @@ -41,6 +41,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_relocate.Rd b/man/data_relocate.Rd index a1227dcfa..b48f75cac 100644 --- a/man/data_relocate.Rd +++ b/man/data_relocate.Rd @@ -48,6 +48,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_rename.Rd b/man/data_rename.Rd index 83a983dcc..d86aafb86 100644 --- a/man/data_rename.Rd +++ b/man/data_rename.Rd @@ -28,6 +28,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_replicate.Rd b/man/data_replicate.Rd index 0be353c66..bd2f55220 100644 --- a/man/data_replicate.Rd +++ b/man/data_replicate.Rd @@ -31,6 +31,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_separate.Rd b/man/data_separate.Rd index b85b01916..301404b55 100644 --- a/man/data_separate.Rd +++ b/man/data_separate.Rd @@ -34,6 +34,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_tabulate.Rd b/man/data_tabulate.Rd index ac91ead65..c21fe2315 100644 --- a/man/data_tabulate.Rd +++ b/man/data_tabulate.Rd @@ -83,6 +83,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_to_long.Rd b/man/data_to_long.Rd index 4a05e735b..b3dd9c08d 100644 --- a/man/data_to_long.Rd +++ b/man/data_to_long.Rd @@ -49,6 +49,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_unique.Rd b/man/data_unique.Rd index e0911901d..c65d86802 100644 --- a/man/data_unique.Rd +++ b/man/data_unique.Rd @@ -25,6 +25,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/data_unite.Rd b/man/data_unite.Rd index c9893933e..a145b6198 100644 --- a/man/data_unite.Rd +++ b/man/data_unite.Rd @@ -31,6 +31,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/describe_distribution.Rd b/man/describe_distribution.Rd index 4837834ac..105da38d5 100644 --- a/man/describe_distribution.Rd +++ b/man/describe_distribution.Rd @@ -90,6 +90,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/extract_column_names.Rd b/man/extract_column_names.Rd index d74d092c0..b6c5adea5 100644 --- a/man/extract_column_names.Rd +++ b/man/extract_column_names.Rd @@ -47,6 +47,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/labels_to_levels.Rd b/man/labels_to_levels.Rd index c75e2f537..2cea1124e 100644 --- a/man/labels_to_levels.Rd +++ b/man/labels_to_levels.Rd @@ -37,6 +37,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/means_by_group.Rd b/man/means_by_group.Rd index 8407263b7..0c0ae0624 100644 --- a/man/means_by_group.Rd +++ b/man/means_by_group.Rd @@ -55,6 +55,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/normalize.Rd b/man/normalize.Rd index ecb3a2706..c8e14e850 100644 --- a/man/normalize.Rd +++ b/man/normalize.Rd @@ -75,6 +75,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/ranktransform.Rd b/man/ranktransform.Rd index 6bb7cfdc3..10edec53c 100644 --- a/man/ranktransform.Rd +++ b/man/ranktransform.Rd @@ -55,6 +55,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/recode_values.Rd b/man/recode_values.Rd index d738093cb..b40bfacd2 100644 --- a/man/recode_values.Rd +++ b/man/recode_values.Rd @@ -64,6 +64,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/rescale.Rd b/man/rescale.Rd index de70bfecf..e37957022 100644 --- a/man/rescale.Rd +++ b/man/rescale.Rd @@ -71,6 +71,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/reverse.Rd b/man/reverse.Rd index 0f33154a4..600524011 100644 --- a/man/reverse.Rd +++ b/man/reverse.Rd @@ -49,6 +49,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/row_count.Rd b/man/row_count.Rd index 1a87de609..5d2d81a85 100644 --- a/man/row_count.Rd +++ b/man/row_count.Rd @@ -27,6 +27,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/row_means.Rd b/man/row_means.Rd index 3c859e992..c23cdbbed 100644 --- a/man/row_means.Rd +++ b/man/row_means.Rd @@ -41,6 +41,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/slide.Rd b/man/slide.Rd index c350ab7e4..898c51513 100644 --- a/man/slide.Rd +++ b/man/slide.Rd @@ -38,6 +38,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/standardize.Rd b/man/standardize.Rd index 8e8d66867..03b597e7e 100644 --- a/man/standardize.Rd +++ b/man/standardize.Rd @@ -149,6 +149,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/to_factor.Rd b/man/to_factor.Rd index 7a500c071..4520ddfd9 100644 --- a/man/to_factor.Rd +++ b/man/to_factor.Rd @@ -40,6 +40,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}), diff --git a/man/to_numeric.Rd b/man/to_numeric.Rd index abfcec0d8..52ddcf579 100644 --- a/man/to_numeric.Rd +++ b/man/to_numeric.Rd @@ -34,6 +34,10 @@ tasks. Can be either vector of variable names (e.g., \code{c("col1", "col2", "col3")}), or a character vector of variable names including ranges specified via \code{:} (e.g., \code{c("col1:col3", "col5")}), +\item for some functions, like \code{data_select()} or \code{data_rename()}, \code{select} can +be a named character vector. In this case, the names are used to rename +the columns in the output data frame. See 'Details' in the related +functions to see where this option applies. \item a formula with variable names (e.g., \code{~column_1 + column_2}), \item a vector of positive integers, giving the positions counting from the left (e.g. \code{1} or \code{c(1, 3, 5)}),