analyse_frequency: Make a frequency table of the characters in a string

Description Usage Arguments Value

View source: R/text_manipulation.R

Description

Make a frequency table of the characters in a string

Usage

1
2
3
4
5
6
analyse_frequency(
  x,
  case_sensitive = FALSE,
  alphabet = standard_alphabet,
  collapse = FALSE
)

Arguments

x

A character vector

case_sensitive

Logical. Should lower and upper case letters be kept separate

alphabet

A list containing lower and upper case alphabets

collapse

A character value to be passed to paste() to collapse x into a single string. If collapse=FALSE (default), no collapse is implemented

Value

A tibble of the frequencies, with one row for each input string


AlunHewinson/geocacheR documentation built on Feb. 17, 2020, 6:12 p.m.