CountNumberOfSections | R Documentation |
It counts the number of subparts in each section and outputs the result as a table. It doesn't act recursively, it only does the outermost layer.
CountNumberOfSections(Document)
Document |
Document, as defined in |
The regular expression that defines this methods behaviour is the following
"^[^[:digit:]]*([[:digit:]]+)_([^[:digit:]]+)_([[:digit:]]+)_(.*)"
The replacement is simply "\1"
.
It tries to first find whether there exist attributes command and section that explain the command and section, before starting to use regexs on the names.
A table, counting the number of "\cmdName
" items in which the document was divided when parsed for every begin-end section. It doesn't act resursively.
It will return a table with an integer that identifies the section, and a count, with how many items it found on that section. If it doesn't find any items or sections, it will return an empty table.
Other Extracting information:
ConstructAnswerSheet()
,
FindExamAnswers()
,
GenerateShortAnswerSheet()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.