search for: nbchev

Displaying 8 results from an estimated 8 matches for "nbchev".

Did you mean: nachev
2017 Jul 27
2
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...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 | 0, data = h1.dat) : ob...
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
...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.9?, ?2.17? > head(hors...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
Hello, There's a typo in your call to mlogit.data, it should be alt.var="nbChev", not alt.var="noChev". Then the error is different. You should check the call arguments to see if they make sense. Hope this helps, Rui Barradas Em 28-07-2017 13:14, sandoz at free.fr escreveu: > I re post my question with the csv problem fixed. > > Can someone explai...
2017 Jul 27
3
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(win~cteD+cteTh|0|0,data=h1.dat) >> Error...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...t 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
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...>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.9?, ?...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...? >>> >>>> 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....
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
...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 setting 'row.names': ?1.9?, ?2...