R/mapper.R

Defines functions tm_map.DCorpus

Documented in tm_map.DCorpus

tm_map.DCorpus <-
function(x, FUN, ...)
{
    ## TODO: shouldn't we check provided function for sanity?

    x$content <- DLapply(x$content, FUN, ..., keep = x$keep)
    x
}

Try the tm.plugin.dc package in your browser

Any scripts or data that you put into this service are public.

tm.plugin.dc documentation built on Nov. 29, 2020, 5:07 p.m.