Is it possible to use summarise with hclust in R?
S %>% summarise(hc = hclust(dist()))
This gives me an error:
Error: Problem with `summarise()` column `hc`.
ℹ `hc = hclust(dist())`.
x argument "x" is missing, with no default
ℹ The error occurred in group 1: country = ch.