Description Usage Arguments Details Author(s)
unsplit
method for List object and split<-
method for Vector object.
1 2 3 4 |
value |
The List object to unsplit. |
f |
A |
drop |
Whether to drop empty elements from the returned list |
x |
Like |
... |
Extra arguments to pass to |
unsplit
unlists value
, where the order of the returned
vector is as if value
were originally created by splitting that
vector on the factor f
.
split(x, f, drop = FALSE) <- value
: Virtually splits x
by
the factor f
, replaces the elements of the resulting list with the
elements from the list value
, and restores x
to its original
form. Note that this works for any Vector
, even though split
itself is not universally supported.
Michael Lawrence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.