Hi Arun, thanks. Great help. I tested the code for several tables and your
function works well.
Dennis
> Gesendet: Freitag, 26. Juli 2013 um 15:43 Uhr
> Von: arun
> An: "dennis1...@gmx.net"
> Cc: "R help" , "Rui Barradas"
> Betreff: Re: [R] How to split two levels several times?
>
> It would
Hi Rui & Arun,
really thanks for investing so much time to deal with this problem! The code
works now for this specific example. However it is not generally robust for
slightly different situations. For instance it cannot correctly handle a slight
variation of the table where I have again 4 type
Hi Rui
once more thank you for your help. But the code does so far not solve the
problem because it still treats rows 17-22 (repeated appearance of electrode1)
as one single level. However as can be seen by rows 1-3 (or rows 17-19 and rows
20-22) and the order of the length variable (row 1 = 5.7
Hi Rui
the splitting code worked fine. Thanks for your help. Now I realized that the
code cannot handle a table with levels that by chance (or systematically)
repeatedly appear after each other. For instance this may happen if I need to
extract the final two pairs of the table XXX below: electro
Hi,
I have a small problem with the function split() and would appreciate your help.
I have a table called “XXX” with 2 columns and 49 rows. The 49 rows belong to 8
different levels (electrode1, ...,electrode8). I want to split the table always
at the row where “electrode1” starts again so that
5 matches
Mail list logo