Description Usage Arguments Value
View source: R/make_ocr_error.R
do_ocr_replacement
replace a string with its ocr error.
1 | do_ocr_replacement(s, where, orgpat, newpat)
|
s |
A string. |
where |
A string. The location of the pat, it can be one of: 'ALL','START','END','MIDDLE'. |
orgpat |
A string. The original pat. |
newpat |
A string. The new pat. |
It returns a new pat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.