Re: [R] parsing protocol of states

2010-01-12 Thread jim holtman
You might try this to get the data into a dataframe that would be easier to process. You can subset and split the dataframe to look at different combination. > str01 <- "2007-10-12 11:50:05 state B. ,2007-10-12 11:50:05 state C. ,2007-10-12 13:23:24 state D. ,2007-10-12 13:23:43 state E. ,2007-10

[R] parsing protocol of states

2010-01-12 Thread Andreas Wittmann
Dear R-users, actually i try to parse some state protocols for my work. i an easy stetting the code below works fine, if states are reached only once. in harder settings it could be possible that one state gets visited more times. in this case for me its interesting to see how much waiting tim