create.code {ncodeR} | R Documentation |
Create a code
Description
Create a code
Usage
create.code(name = "NewCode", definition = NULL, excerpts = NULL,
type = "Regex", ...)
Arguments
name |
Name of the code |
definition |
Definition of the Code |
excerpts |
Character vectore of excerpts to use for Coding |
type |
Character string representing the type of code (Default: "Regex") |
... |
Additional parameters |
Value
Code object
Examples
data(RS.data)
rs = RS.data
# Generate a Code
newcode = create.code(name = "Data", expressions = c("number","data"), excerpts = rs$text)
[Package ncodeR version 0.2.0.1 Index]