Description Usage Arguments Details Value Author(s) Examples
contextSearch
is a method to extract the sentences containing a given query term
1 | contextSearch(object, y)
|
object |
An S4 object of Class Abstracts containing text abstracts |
y |
a character vector of term(s) |
It takes object of class Abstracts and query term(s) as arguments and returns a text and latex file of the sentences containing query term. The latex file can be further converted into PDF by using the system command in R i.e. system("pdflatex filename.tex"). pdflatex is a shell command in Linux to convert the latex file into PDF. In the pdf file the terms are written in bold face type to enable ease of reading
contextSearch() will write two files one is a text file named "companion.txt", and other is a Latex file. If the single term is given in query then file name comes with the term name. If multiple terms are used then the file name will be "combined.tex"
Dr.S.Ramachandran, Jyoti Rani
1 2 | ## Not run: contextSearch(x, "diabetes")
## here 'x' is S4 object of class 'Abstracts', and query term is 'diabetes'.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.