[R] Grab multinomial coefficients

Rui Barradas ruipbarradas at sapo.pt
Fri Dec 20 22:18:59 CET 2013


Hello,

Try

coef(mnl)

Hope this helps,

Rui Barradas

Em 20-12-2013 20:21, Dimitri Liakhovitski escreveu:
> Hello!
>
> I am using function multinom:
>
> library(nnet)
> library(MASS)
>
> mnl<-multinom(myDV~. ,data=mydata,na.action="na.omit", MaxNWts = 2000,
> maxit = 1000)
>
>
> I can see the resulting coefficients:
>
> print(mnl)
>
> But how could I grab them? I am not finding them when I do:
> str(mnl)
>
> Thank you!
>



More information about the R-help mailing list