Learn R Programming

Kmisc (version 0.5.0)

remove_chars: Remove Alphabetic Characters from a Character Vector

Description

Removes all alphabetic characters from a character vector.

Usage

remove_chars(x, remove_spaces = TRUE)

Arguments

x
A character vector, or vector coercable to character.
remove_spaces
boolean; if TRUE we remove all white-space as well.