ncodeR Code object
ncodeR Code object
Code object Create Code
call
TBD
name
TBD
definition
TBD
codeSet
TBD
testSet
TBD
trainingSet
TBD
computerSet
TBD
ignoredSet
TBD
examples
TBD
excerpts
TBD
holdoutExcerpts
TBD
touchableExcerpts
TBD
touchedIndices
TBD
additionalExcerpts
TBD
secondRaterSet
TBD
statistics
TBD
baserate
TBD
baserateInflation
TBD
new()
Code$new( name, definition, testSet = NULL, trainingSet = NULL, computerSet = NULL, secondRaterSet = NULL, ignoredSet = c(), examples = NULL, excerpts = NULL, holdoutSize = 0.9, ... )
name
TBD
definition
TBD
testSet
TBD
trainingSet
TBD
computerSet
TBD
secondRaterSet
TBD
ignoredSet
TBD
examples
TBD
excerpts
TBD
holdoutSize
TBD
...
TBD
Code object Function to override
process()
Code$process()
Default, error, unless overridden Kappa on Code
kappa()
which
TBD
double Differences in sets
differences()
Code$differences(data = NULL, col1 = NULL, col2 = NULL, cols = NULL)
data
TBD
col1
TBD
col2
TBD
cols
TBD
vector of indices Clear TestSet
clearTestSet()
Code$clearTestSet()
NULL Concatenate Expressions
concat()
Code$concat()
character of concatenated expressions Get Value
getValue()
Code$getValue(wh)
wh
character
value stored at wh Set Value
setValue()
Code$setValue(wh, val)
wh
character
val
object
clone()
The objects of this class are cloneable with this method.
Code$clone(deep = FALSE)
deep
Whether to make a deep clone.