R/shift.word.indices.R

shift.word.indices <-
function (documents, amount) 
{
    lapply(documents, function(x) {
        x[1, ] <- x[1, ] + amount
        x
    })
}

Try the lda package in your browser

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

lda documentation built on June 22, 2024, 6:47 p.m.