summary(x)
: quantile informationcount(x)
: what unique values do you have?distinct()
: what are the distinct values?n_distinct()
withpull()
: how many distinct values?
group_by()
: changes all subsequent functions- combine with
summarize()
to get statistics per group - combine with
mutate()
to add column
- combine with
summarize()
withn()
gives the count (NAs included)