Displaying 2 results from an estimated 2 matches for "mylistofdf".
Did you mean:
mylistofdfs
2018 Apr 17
2
Time intervals in a datframe
...n in each datframe contains a vector of "Interval" class after I have produced this column using "lubridate" package. I needed to convert my list of dataframes to be in a single dataframe for further analysis. I did this using the following syntax :
SingleDataframe <- ldply (MylistofDFs,data.frame)
The problem is that after this conversion, the the column with time intervals has been converted into numeric type with number of seconds during the time interval instead of the interval itself as follows :
The column Before conversion looks like this:
TimeInterval (class 'inter...
2018 Apr 17
0
Time intervals in a datframe
...datframe contains a vector of "Interval" class after I have produced this column using "lubridate" package. I needed to convert my list of dataframes to be in a single dataframe for further analysis. I did this using the following syntax :
>
> SingleDataframe <- ldply (MylistofDFs,data.frame)
>
> The problem is that after this conversion, the the column with time intervals has been converted into numeric type with number of seconds during the time interval instead of the interval itself as follows :
>
> The column Before conversion looks like this:
>
>...