| create.code | R Documentation |
Create a code
create.code(name = "NewCode", definition = NULL, excerpts = NULL, type = "Regex", ...)
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 |
Code object
data(RS.data)
rs = RS.data
# Generate a Code
newcode = create.code(name = "Data", expressions = c("number","data"), excerpts = rs$text)