search for: sandoz

Displaying 9 results from an estimated 9 matches for "sandoz".

Did you mean: sandor
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 explain the error below? > sandoz > >> library(mlogit) >> horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";") >> h1.dat<-mlogit.data(data=horse1....
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
Doesn't help when you only reply to me. Use reply-all. -- Sent from my phone. Please excuse my brevity. On July 28, 2017 3:35:36 PM PDT, sandoz at free.fr wrote: >below the cte2.csv url for those willing to check this error : > >https://www.dropbox.com/s/wv7nq8tk9k87le5/cte2.csv?dl=0 > > > >----- Mail original ----- >De: "Jeff Newmiller" <jdnewmil at dcn.davis.ca.us> >?: sandoz at free.fr, "R...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...p://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example [2] http://adv-r.had.co.nz/Reproducibility.html [3] https://cran.r-project.org/web/packages/reprex/index.html (read the vignette) -- Sent from my phone. Please excuse my brevity. On July 28, 2017 12:58:16 PM PDT, sandoz 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=&quot...
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
...17.8 26 4.4 4.9 4.5 32.1 ... $ cteTh : num 23.8 6.7 11.5 6.7 18.2 30 5.7 6 6.9 48.3 ... $ win : Factor w/ 2 levels "no","yes": 1 1 1 2 1 1 1 1 1 1 ... below the .csv file url for those willing to reproduce the error https://www.dropbox.com/s/wv7nq8tk9k87le5/cte2.csv?dl=0 sandoz
2017 Jul 27
3
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...int it is replaced by the semicolon, as you'll find out if you save an Excel file as CSV in, say, France. This is due to some idiotic decisions from early 1990s, but there you are...) -pd > -- > Sent from my phone. Please excuse my brevity. > > On July 27, 2017 8:01:12 AM PDT, sandoz at free.fr wrote: >> Hi, >> Please help about the error I am getting after the h1.dat<- line : >> this line worked with much more independant variables and bigger data. >> This time I want to work with just 2 variables cteD & cteTh. >> What is wrong ? >>...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...g ?read.csv and use the sep=";" argument. You should always use the str() function to look at your data and make sure it looks reasonable before you start trying to give it to other functions to analyze. -- Sent from my phone. Please excuse my brevity. On July 27, 2017 8:01:12 AM PDT, sandoz at free.fr wrote: >Hi, >Please help about the error I am getting after the h1.dat<- line : >this line worked with much more independant variables and bigger data. >This time I want to work with just 2 variables cteD & cteTh. >What is wrong ? > >> setwd("C:/Rstud...
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
...a frame is being build with chid.var and alt.var combination as new row names. As the combination is not unique this operation results to error. But I may be completely wrong. Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of > sandoz at free.fr > Sent: Saturday, July 29, 2017 1:40 AM > To: r-help at r-project.org > Subject: [R] Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", > "1.9", : duplicate 'row.names' are not allowed > > Hi, > Can someone ex...
2017 Jul 27
2
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
Hi, Please help about the error I am getting after the h1.dat<- line : this line worked with much more independant variables 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") >
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...quot;allows" us to use the comma as a decimals marker, as you've said. I would use it, with or without someone else's decision. Rui Barradas > > -pd > > >> -- >> Sent from my phone. Please excuse my brevity. >> >> On July 27, 2017 8:01:12 AM PDT, sandoz at free.fr wrote: >>> Hi, >>> Please help about the error I am getting after the h1.dat<- line : >>> this line worked with much more independant variables and bigger data. >>> This time I want to work with just 2 variables cteD & cteTh. >>> What...