powered by
It is used to divide the large corpus into a given range.
subsetabs(object, indices)
object is an S4 object containing Abstracts.
object
indices a numeric range (e.g. 1:10, c(1,5,7,9,10)).
indices
It returns an S4 obejct of extracted Abstracts.
# NOT RUN { test = subsetabs(diabetesabs, 1:50) # } # NOT RUN { ## here we want to extract the Abstacts ranges from 1 to 50 ## from the large corpus of diabetes. # }
Run the code above in your browser using DataLab