Description Usage Arguments Value
Produce a model object based on regular expressions.
1 2 3 4 5 6 |
include |
Character. List of regular expression patterns, any one of which will return a positive match. |
exclude |
Character. List of regular expression patterns, any one of which will return a negative match, overriding any other matches with |
varname |
Character. A character vector of length one with the column name to be tested. |
search_fun |
One of the stringr::modifiers functions from stringr::stringr. Defaults to stringr::regex. |
search_opts |
List of arguments to pass to |
object |
A |
newdata |
A data.frame containing a text column |
progress |
Logical. Display a progress bar? |
return_names |
Logical. Add original text as names to the resulting logical vector? Defaults to false. |
parallel |
Logical. Compute predictions in parallel? Requires doParallel. |
... |
Other arguments passed from functions. Not used currently. |
kwm
returns a model object of class kwm
predict.kwm
reutrns a logical vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.