autocode: Match a list of expressions against some set of excerpts

Description Usage Arguments Value

View source: R/autocode.R

Description

Autocodes all codes provided, either directly with code or as part of a provided codeset

Usage

1
2
autocode(x = NULL, expressions = NULL, excerpts = NULL,
  simplify = T, mode = "all")

Arguments

x

Object to autocode. Either a Code or CodeSet

expressions

Expressions to use for coding (optional)

excerpts

Excerpts to code

simplify

If TRUE, returns a data.frame, else returns a Code or CodeSet object

mode

Either all, training, or test representing the set of excerpts that should be recoded in the computerSet

Value

data.frame of is simplify = T (default), otherwise the Code or CodeSet object with updated computerSets


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