Skip to content

Commit

Permalink
merge dev
Browse files Browse the repository at this point in the history
Merge branch 'dev'

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
  • Loading branch information
stemangiola committed Jun 9, 2020
2 parents 40046ea + 675011a commit 3f46e96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -1311,11 +1311,15 @@ setMethod("keep_variable", "tbl_df", .keep_variable)
#' library(purrr)
#' library(tidyr)
#'
#' mtcars_tidy_permuted = permute_nest(mtcars_tidy, car_model, c(feature,value))
#' mtcars_tidy_permuted =
#' mtcars_tidy %>%
#' filter(feature == "mpg") %>%
#' head(5) %>%
#' permute_nest(car_model, c(feature,value))
#'
#' mtcars_tidy_permuted %>%
#' # Summarise mpg
#' mutate(data = map(data, ~ .x %>% filter(feature == "mpg") %>% summarise(mean(value)))) %>%
#' mutate(data = map(data, ~ .x %>% summarise(mean(value)))) %>%
#' unnest(data) %>%
#'
#' # Lower triangular
Expand Down
8 changes: 6 additions & 2 deletions man/lower_triangular-methods.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f46e96

Please sign in to comment.