Displaying 8 results from an estimated 8 matches for "raceid".
Did you mean:
traceid
2017 Jul 27
2
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...bles and bigger data.
This time I want to work with just 2 variables cteD & cteTh.
What is wrong ?
> setwd("C:/Rstudio/Trot")
> library(mlogit)
> horse1.data<-read.csv("cte2.csv")
> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) :
le tableau de remplacement a 0 lignes, le tableau remplac? en a 26
> mul1.model<-mlogit(win~cteD+cteTh|0|0,data=h1.dat)
Error in mlogit(win ~ cteD + cteTh | 0...
2017 Jul 28
1
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", : duplicate 'row.names' are not allowed
Hi,
Can someone explain this error below,
I don't understand why the 2 int columns are associated to make a row name
> horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";")
> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", :
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names': ?1...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...uestion with the csv problem fixed.
>
> Can someone explain the error below?
> sandoz
>
>> library(mlogit)
>> horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";")
>> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="noChev",shape="long")
> #mul1.model<-mlogit(win~cteD+cteTh|0|0,data=h1.dat)
> #summary(mul1.model)
>
> Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) :
> le tableau de remplacement a 0 lignes, le tableau remplac? en a 26...
2017 Jul 27
3
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...ariables cteD & cteTh.
>> What is wrong ?
>>
>>> setwd("C:/Rstudio/Trot")
>>> library(mlogit)
>>> horse1.data<-read.csv("cte2.csv")
>>>
>> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
>>
>> Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) :
>> le tableau de remplacement a 0 lignes, le tableau remplac? en a 26
>>
>>
>>> mul1.model<-mlogit(win~cteD+cteTh|0|0,d...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...ime I want to work with just 2 variables cteD & cteTh.
>What is wrong ?
>
>> setwd("C:/Rstudio/Trot")
>> library(mlogit)
>> horse1.data<-read.csv("cte2.csv")
>>
>h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
>
>Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) :
> le tableau de remplacement a 0 lignes, le tableau remplac? en a 26
>
>
>> mul1.model<-mlogit(win~cteD+cteTh|0|0,data=h1.dat)
>Error in ml...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...at free.fr wrote:
>
>
>I don't understand why the 2 int columns are associated to make a row
>name
>
>> horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";")
>>
>h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
>Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9",
>"1.9", :
> duplicate 'row.names' are not allowed
>In addition: Warning message:
>non-unique values when setting ...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...>>> What is wrong ?
>>>
>>>> setwd("C:/Rstudio/Trot")
>>>> library(mlogit)
>>>> horse1.data<-read.csv("cte2.csv")
>>>>
>>> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long")
>>>
>>> Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) :
>>> le tableau de remplacement a 0 lignes, le tableau remplac? en a 26
>>>
>>>
>>>> mul1.model<-mlogit(...
2017 Aug 02
0
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", : duplicate 'row.names' are not allowed
...someone explain this error below,
> I don't understand why the 2 int columns are associated to make a row name
>
> > horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";")
> > h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",al
> > t.var="nbChev",shape="long")
> Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", :
> duplicate 'row.names' are not allowed
> In addition: Warning message:
> non-unique values when...