So, if you have duplicate row.names, get rid of them. Try
rownames(comb_model0) <- NULL
as.data.frame(comb_model0)
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 11/12/12 7:45 AM, "PavloEs" wrote:
>I have a matri
avloEs
> Sent: Monday, November 12, 2012 1:09 PM
> To: r-help@r-project.org
> Subject: Re: [R] Matrix to data frame conversion
>
> May be I have not clearly explained my problem. Le me try it again. My
> problem was with the matrix "comb_model0" . I have tried to conve
May be I have not clearly explained my problem. Le me try it again. My
problem was with the matrix "comb_model0" . I have tried to convert it to a
data frame (xx), but could not succeed . As a result I have exported it to a
test.csv file and re-imported it. Data frame test is the product of th
HI,
I also have no trouble in reading the example data you gave, which BTW do not
have any duplicate rownames. I guess there must be some rows in the original
dataset that must be repeated. For example:
comb_model<-read.table(text="
Estimate Std.Error tvalue
Hello,
I'm unable to reproduce your error, removing the space in "Std. Error"
and changing "t value" to "t.value" the following read in as data.frame
with no problems.
x <- read.table(text="
Estimate Std.Error t.value Pr(>|t|)
(Intercept)
5 matches
Mail list logo