R/document.lengths.R

document.lengths <-
function (docs) 
{
    sapply(docs, function(x) sum(x[2, ]))
}

Try the lda package in your browser

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

lda documentation built on May 1, 2019, 10:34 p.m.