Learn R Programming

ncodeR (version 0.2.0.1)

create.code: 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

Run this code
# NOT RUN {
data(RS.data)
rs = RS.data

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


# }

Run the code above in your browser using DataLab