Re: [R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-30 Thread Rahul Chakraborty
ormat, not > the long format data. > > Rui Barradas > > Às 21:55 de 22/09/20, Rahul Chakraborty escreveu: > > Hi, > > > > Thank you so much for your reply. > > Yes, thank you for pointing that out, I apologise for that error in > > the variable name. Howev

Re: [R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-22 Thread Rahul Chakraborty
egards, On Tue, Sep 22, 2020 at 8:46 PM David Winsemius wrote: > > You were told two things about your code: > > > 1) mlogit.data is deprecated by the package authors, so use dfidx. > > 2) dfidx does not allow duplicate ids in the first two columns. > > > Which one of t

Re: [R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-21 Thread Rahul Chakraborty
t the dataframe level. Thanks in advance. Regards, Rahul Chakraborty On Tue, Sep 22, 2020 at 4:50 AM David Winsemius wrote: > > @Rahul; > > > You need to learn to post in plain text and attachments may not be xls > or xlsx. They need to be text files. And even if they are c

Re: [R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-21 Thread Rahul Chakraborty
Median : 9.000 Median : 5.000 Mean :10.62 Mean : 8.661 Mean : 5.419 3rd Qu.:12.00 3rd Qu.:10.000 3rd Qu.: 6.000 Max. :15.00 Max. :10.000 Max. :15.000 On Tue, Sep 22, 2020 at 2:07 AM Rahul Chakraborty wrote: > Hello, > > Here is the resul

Re: [R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-21 Thread Rahul Chakraborty
ultiple levels and some sort of combinatoric > explosion is resulting in too many levels of a constructed factor. > > > -- > > David. > > On 9/21/20 12:55 PM, Rahul Chakraborty wrote: > > Hello everyone, > > > > I am using *mlogit* to analyse my choice experime

[R] Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"

2020-09-21 Thread Rahul Chakraborty
message- Error in 1:nchid : result would be too long a vector Could you please help me with this? I don't think it is too big a data 100 ROWS*13932 columns. I faced no issue in Excel. I am stuck due to this issue. Thanks in advance. -- Best Regards, Rahul Chakraborty Research Fellow National

[R] Problem in generating an "Orthogonal fractional design"

2020-05-27 Thread Rahul Chakraborty
hich I am sorry. -- Regards, Rahul Chakraborty Research Fellow National Institute of Public Finance and Policy New Delhi- 110067 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.

[R] Designing a Fractional Factorial Design in R

2020-04-29 Thread Rahul Chakraborty
e may vary across different objects. Given this scenario which package should I use to implement a fractional factorial design? Any help would be highly appreciated. Thanking you, -- Regards, Rahul Chakraborty Research Fellow National Institute of Public Finance and Policy New Del