Description Usage Arguments Author(s)
This uses a heuristic approach to find the
1 | findSectionHeaders(doc, sectionName = c("introduction", "background", "conclusions", "discussion", "materials and methods", "literature cited", "references cited", "the study"), otherSectionNames = c("references", "acknowledgements", "acknowledgments", "results", "methods"), checkCentered = TRUE, discardAfterReferences = TRUE, allowRotated = FALSE, onlyFirst = FALSE, order = TRUE, groupByLine = FALSE)
|
doc |
|
sectionName |
|
otherSectionNames |
|
checkCentered |
a logical value. If the nodes we identify as section using the "expected" names are centered, then by default when we look for other text with the same font, we only include centered text. However, if checkCentered = FALSE we include all text with the same section header font. Checking for centered is currently expensive. |
discardAfterReferences |
|
allowRotated |
|
onlyFirst |
|
order |
|
groupByLine |
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.