Description Usage Arguments Value Note Author(s)
This is a handy function to find out where a citation is located in a manuscript.
1 2 | citation_location(full_text, key, breaks = c("Introduction", "Methods",
"Results", "Discussion"))
|
full_text |
This is an array of text that is usually grabbed
from |
key |
The sequence you are searching for in the |
breaks |
The sequence of section headers to partition the paper into. By default, the text is broken into "Introduction", "Methods", "Results", and "Discussion" |
A list with the number of times the key
was found in each section (defined
by breaks
) in full_text
.
This function will allow you to specify the partitions of the manuscript in which to look for a particular citation (or phrase). It should be noted that you need to try alternate citation types (e.g., Smith (1997), (Smith 1997), Smith .... (1997)), this function isn't that cleaver...
Rodney J. Dyer <rjdyer@vcu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.