Skip to content

Commit

Permalink
Merge pull request #110 from rben01/fix-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Karandeep Singh committed Aug 1, 2023
2 parents 37c992f + d2f940a commit 67af57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/UserGuide/mutate_transmute.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The primary purpose of `@mutate()` is to either create a new column or to update an existing column *without* changing the number of rows in the dataset. If you only plan to select the mutated columns, then you can use `@transmute()` instead of `@mutate(). However, in `Tidier.jl`, `@select()` can also be used to create and select new columns (unlike R's `tidyverse`), which means that `@transmute()` is a redundant function in that it has the same functionality as `@select()`. `@transmute` is included in `Tidier.jl` for convenience but is not strictly required.
# The primary purpose of `@mutate()` is to either create a new column or to update an existing column *without* changing the number of rows in the dataset. If you only plan to select the mutated columns, then you can use `@transmute()` instead of `@mutate()`. However, in `Tidier.jl`, `@select()` can also be used to create and select new columns (unlike R's `tidyverse`), which means that `@transmute()` is a redundant function in that it has the same functionality as `@select()`. `@transmute` is included in `Tidier.jl` for convenience but is not strictly required.

using Tidier
using RDatasets
Expand Down

0 comments on commit 67af57b

Please sign in to comment.