I have count the values of a column with dplyr.
yelp_tbl %>% select(name) %>% count(name)
The resulting data looks like this:
# A tibble: 108,999 x 2
name n
<chr> <int>
1 'do blow dry bar 1
2 'Round Table Tours 1
3 'S Hundehüttle 1
4 # 1 Nails 1
5 #1 Cochran Buick GMC of Monroeville 1
6 #1 Cochran Buick GMC of Robinson 1
7 #1 Cochran Cadillac - Monroeville 2
Now I want to make a boxplot of the "n" column.
yelp_tbl %>% select(name) %>% count(name) %>% boxplot(n)
But I got this result:
Error in x[floor(d)] + x[ceiling(d)] :
non-numeric argument to binary operator
Any Idea? Is it because of the function?

Error in if (use.cols) { : argument is not interpretable as logical- Hadsga