Displaying 1 result from an estimated 1 matches for "data2_30min".
2013 Mar 12
2
split data into columns from dataframe
Dear r-users,
Originally my data is in notepad. I use data.frame(...) to convert the data into columns but it has no header. The data below is what I got in R. I would like to extract these data:
19710629 39.3 19701126
19720629 33.8 19720517
...
when I use data2_30min[1, cbind(1,3,5)] command the result is NULL.
Then I tried data2_30min[1], it gives me the whole set of data. I suspect the data is stored in a cell.
My question is, how do I split the data from dataframe into some columns which separating the data by spaces. Many examples given on how to spli...