splitstackshape
splitstackshape copied to clipboard
R functions to split concatenated data, conveniently stack columns of data.frames, and conveniently reshape data.frames.
I have written a code that uses cSplit function to separate a column in the data frame into multiple columns. Below is the reproducible example: `mtcars %>% rownames_to_column() %>% cSplit(.,...
Hi, I am trying to understand the meaning of the following sentence in the help of the function `stratified`: > Generally, if you are using more than one variable to...
This code produces the warning "Groups F NY AA, F CA DD, M TX BB, M CA DD contain fewer rows than requested. Returning all rows." Each of the groups...
Hi! Great package, but it would be great to see a few basic examples of what it does in your README.md. TBH. From reading the text description alone, I remain...
In the `stratified` function's documentation, the [Arguments section](https://github.com/mrdwab/splitstackshape/blob/7c01f9d1ce5704cbe55273a35be9443626e0bda3/R/stratified.R#L25) says the following for `bothSets`: > Should both the sampled and non-sampled sets be returned as a list? Defaults to FALSE. But...
``` funpaste
- [x] `move_me` - [x] `dist2df` - [x] `[.array` - [x] `[.ftable` - [x] `ftable2dt` - [ ] `dupe_thresh` - [x] `list_unlister` - [ ] `make_me_NA` - [ ] `na_last`...
The concatenated column, 'response', in my data.table,'dt.gdoc' contains number string with no separator, e.g. "13464". I wanted to split this column into a list using cSplit_l(dt.gdoc,'response',sep='',drop=T) However, when I attempted...
first of all thank you so much for this package! It is part of my routine analysis for some time now. I would just like to suggest a convenience option...
- [ ] `char_mat`: https://stackoverflow.com/q/48888182/1270695