function to summarise the wordlist by removing the corpus variable derived via freqlist_leipzig_each or freqlist_leipzig_all.

freqlist_leipzig_summarise(df, group_var = NULL, descending = TRUE)

Arguments

df

a tibble data frame containing wordlist derived via the freqlist_leipzig_each or freqlist_leipzig_all.

group_var

a bare (i.e. unquoted) variable name to group by.

descending

whether the data is ordered in decreasing order according to the token frequency (TRUE -- the default) or in ascending order (FALSE).

Value

a tibble

Examples