[R] error in data.farme--duplicate row.names error

Rees, Lisa Marie (MU-Student) lmr6c6 at mail.missouri.edu
Thu May 19 18:16:03 CEST 2016


Michael,

Thanks for your response.  

I tried table(table(Bmat)) and it gave me the following error:
[  Error in table(Bmat) : object 'Bmat' not found]

FYI--
"values" contains 16,383 observations ranging from 0 to less than 1.

Lisa



-----Original Message-----
From: Michael Dewey [mailto:lists at dewey.myzen.co.uk] 
Sent: Thursday, May 19, 2016 11:05 AM
To: Rees, Lisa Marie (MU-Student); r-help at r-project.org
Subject: Re: [R] error in data.farme--duplicate row.names error

Dear Lisa

What does Bmat contain? Perhaps try table(table(Bmat)) and see if any entries are greater than unity.

On 19/05/2016 15:16, Rees, Lisa Marie (MU-Student) wrote:
> I'm using the "GameTheory" package--- DefineGame(14,values) and values is equal to 16,383 observations.
>
> I keep getting the following error-
> [Error in data.frame(rep(0, 2^n - 1), row.names = Bmat) :
>   duplicate row.names: 1, 11, 111, 12, 112, 1112, 11112, 13, 113, 
> 1113, 11113, 1213, 11213, 111213, 1111213, 14, 114, 1114, 11114, 1214, 
> 11214, 111214, 1111214, 1314, 11314, 111314, 1111314, 121314, 1121314, 
> 11121314, 111121314]
>
> What can I do to fix this issue?  I would greatly appreciate any help.
>
> Thank you.
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

--
Michael
http://www.dewey.myzen.co.uk/home.html



More information about the R-help mailing list