splitstackshape icon indicating copy to clipboard operation
splitstackshape copied to clipboard

stratified function: bothSets documentation

Open muraiki opened this issue 7 years ago • 0 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!

muraiki avatar May 25 '18 16:05 muraiki