create.code: Create a code

Description Usage Arguments Value Examples

View source: R/Code.R

Description

Create a code

Usage

1
2
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

1
2
3
4
5
data(RS.data)
rs = RS.data

# Generate a Code
newcode = create.code(name = "Data", expressions = c("number","data"), excerpts = rs$text)

ncodeR documentation built on Nov. 20, 2019, 1:07 a.m.