mrdwab / splitstackshape

R functions to split concatenated data, conveniently stack columns of data.frames, and conveniently reshape data.frames.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stratified function: bothSets documentation

muraiki opened this issue · comments

In the stratified function's documentation, the Arguments section says the following for bothSets:

Should both the sampled and non-sampled sets be returned as a list? Defaults to FALSE.

But in the Value section, it says:

If bothSets = FALSE, a list of two data.tables; otherwise, a data.table.

Shouldn't that instead say:

If bothSets = TRUE, a list of two data.tables; otherwise, a data.table.

If so, I can submit a PR. Thank you for creating this library!