I have a dataset in the form of a data frame in R as follows
col 1 col 2 col3 col 4
941 3605 c(0.035,0.298) 20/08/2013 00:00:00
929 3575 c(0.026,0.078,0.292) 20/08/2013 00:00:00
I would like to split the list in column 3 and add it to the main data frame resulting in the following
col 1 col 2 col3 col 4
941 3605 0.035 20/08/2013 00:00:00
941 3605 0.298 20/08/2013 00:00:00
929 3575 0.026 20/08/2013 00:00:00
929 3575 0.078 20/08/2013 00:00:00
929 3575 0.0292 20/08/2013 00:00:00
Could somebody help with this?