Learn R Programming

pubmed.mineR (version 1.0.1)

subsetabs: To make subsets of large corpus.

Description

It is used to divide the large corpus into a given range.

Usage

subsetabs(object, indices)

Arguments

object
object is an S4 object containing Abstracts.
indices
indices a numeric range (e.g. 1:10, c(1,5,7,9,10)).

Value

  • It returns an S4 obejct of extracted Abstracts.

Examples

Run this code
test = subsetabs(diabetesabs, 1:50)
## 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