ncodeR Code object
ncodeR Code object
Code object Create Code
callTBD
nameTBD
definitionTBD
codeSetTBD
testSetTBD
trainingSetTBD
computerSetTBD
ignoredSetTBD
examplesTBD
excerptsTBD
holdoutExcerptsTBD
touchableExcerptsTBD
touchedIndicesTBD
additionalExcerptsTBD
secondRaterSetTBD
statisticsTBD
baserateTBD
baserateInflationTBD
new()Code$new( name, definition, testSet = NULL, trainingSet = NULL, computerSet = NULL, secondRaterSet = NULL, ignoredSet = c(), examples = NULL, excerpts = NULL, holdoutSize = 0.9, ... )
nameTBD
definitionTBD
testSetTBD
trainingSetTBD
computerSetTBD
secondRaterSetTBD
ignoredSetTBD
examplesTBD
excerptsTBD
holdoutSizeTBD
...TBD
Code object Function to override
process()Code$process()
Default, error, unless overridden Kappa on Code
kappa()whichTBD
double Differences in sets
differences()Code$differences(data = NULL, col1 = NULL, col2 = NULL, cols = NULL)
dataTBD
col1TBD
col2TBD
colsTBD
vector of indices Clear TestSet
clearTestSet()Code$clearTestSet()
NULL Concatenate Expressions
concat()Code$concat()
character of concatenated expressions Get Value
getValue()Code$getValue(wh)
whcharacter
value stored at wh Set Value
setValue()Code$setValue(wh, val)
whcharacter
valobject
clone()The objects of this class are cloneable with this method.
Code$clone(deep = FALSE)
deepWhether to make a deep clone.