View source: R/replace_symbol.R
| replace_symbol | R Documentation | 
This function replaces symbols with word equivalents (e.g., @ becomes 
"at".
replace_symbol(
  text.var,
  dollar = TRUE,
  percent = TRUE,
  pound = TRUE,
  at = TRUE,
  and = TRUE,
  with = TRUE
)
| text.var | The text variable. | 
| dollar | logical.  If  | 
| percent | logical.  If  | 
| pound | logical.  If  | 
| at | logical.  If  | 
| and | logical.  If  | 
| with | logical.  If  | 
Returns a character vector with symbols replaced..
bracketX,
qprep,
replace_abbreviation,
replace_contraction,
replace_number,
## Not run: 
x <- c("I am @ Jon's & Jim's w/ Marry", 
    "I owe $41 for food", 
    "two is 10% of a #")
replace_symbol(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.