SCM

SCM Repository

[tm] Annotation of /trunk/tm/man/tmFilter-methods.Rd
ViewVC logotype

Annotation of /trunk/tm/man/tmFilter-methods.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 726 - (view) (download) (as text)

1 : feinerer 698 \name{tmFilter-methods}
2 :     \docType{methods}
3 :     \alias{tmFilter}
4 :     \alias{tmFilter-methods}
5 :     \alias{tmFilter,TextDocCol-method}
6 : hornik 705 \title{Methods for Function tmFilter in Package `tm'}
7 : feinerer 698 \description{
8 : hornik 705 Methods for function \code{tmFilter} in package \pkg{tm}..
9 : feinerer 698 }
10 :     \section{Methods}{
11 :     \describe{
12 :     \item{object = "TextDocCol", FUN = sFilter, doclevel = FALSE}{If
13 :     \code{doclevel} is set, the method applies \code{FUN} onto each element
14 :     of \code{object} and returns the filtered \code{object}; otherwise
15 :     \code{FUN} is applied to \code{object} itself, i.e., the
16 :     filter is applied onto the \code{object}. Note that metadata is
17 :     automatically passed to \code{FUN}. The function \code{FUN} must
18 :     return a Boolean value.}
19 :     }
20 :     }
21 :     \seealso{
22 :     \code{\link{sFilter}}
23 :     \code{\link{tmIndex}}
24 :     }
25 : feinerer 726 \examples{
26 :     data("crude")
27 :     tmFilter(crude, FUN = searchFullText, "company", doclevel = TRUE)
28 :     }
29 : feinerer 698 \keyword{methods}

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge