Displaying 1 result from an estimated 1 matches for "comb_model0".
2012 Nov 12
5
Matrix to data frame conversion
I have a matrix which I wanted to convert to a data frame. As I could not
succeed and resorted to export to csv and reimport it again. Why did I fail
in the attempt and how can I achieve what I wanted without this
roundabouts?
The original matrix:
> str(comb_model0)
num [1:90, 1:4] 3.5938 0.0274 0.0342 0.0135 0.0207 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:90] "(Intercept)" "as.factor(dow)1" "as.factor(dow)2"
"as.factor(dow)3" ...
..$ : chr [1:4] "Estimate" "Std. Error" "...