Kenneth Benoit
Kenneth Benoit
At least including: - `predict` object class and `predict.textmodel_affinity()` methods should match the behaviour of the `textmodel_nb()` methods. - `predict(x, newdata = ...)` should match the behaviour of that of...
Is there a way to generate slides with less text, from the same content as the tutorials that have more text and explanation? The slides would be good for teaching,...
This will be like rbind.corpus() or `+.corpus`.
function | purpose | status |:-- |:--|:--:| `distinct()` | Select distinct/unique rows | Done, needs tests `slice()` | Choose rows by position | Done, needs tests `relocate()` | Change docvar...
Much of the current README.Rmd can be moved into a vignette.
A table showing the type of function - e.g. single- versus two-table verbs - and whether these operate on document units or document variable column units.
All current functions operate on corpus objects only, but this could be extended to dfm and tokens objects.
Things error when docvars are empty, e.g. ```r pull(corpus(letters[1:3])) Error: Can't extract columns that don't exist. x The location 1 doesn't exist. ℹ There are only 0 columns. ```
Can `group_by()` and `ungroup()` work with the docvar data.frames?
This requires careful thinking through since the texts can only be "summarized" so many ways. Probably a function to concatenate texts (by group) would make sense, or some of the...