You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to count the number of groups having the same number of elements. In R, this can be archived using a consecutive call of count:
library(dplyr)
df<- tibble(id=1:10, group= c(1,1,1,1,1,2,2,2,2,2))
df|>
count(group) |>
count(n)
#> Storing counts in `nn`, as `n` already present in input#> ℹ Use `name = "new_name"` to pick a new name.#> # A tibble: 1 × 2#> n nn#> <int> <int>#> 1 5 2
Indeed, there are 2 groups having 5 elements each. However, this can not be archived with Tidier.jl:
I want to count the number of groups having the same number of elements. In R, this can be archived using a consecutive call of
count
:Indeed, there are 2 groups having 5 elements each. However, this can not be archived with Tidier.jl:
The text was updated successfully, but these errors were encountered: