| tmIndex-methods {tm} | R Documentation |
Methods for function tmIndex in package tm.
doclevel is set, the method applies FUN onto each element
of object and returns the indices; otherwise
FUN is applied to object itself. If FUN has
an attribute doclevel its value will be automatically used.
Note that meta data (DMetaData) is automatically passed to
FUN. The function FUN must return a Boolean value.
data("crude")
attr(searchFullText, "doclevel")
tmIndex(crude, FUN = searchFullText, "company")