s-news
[Top] [All Lists]

adding terms in multinom

To: s-news@wubios.wustl.edu
Subject: adding terms in multinom
From: ad@cs.uu.nl
Date: Thu, 12 Jan 2006 17:08:38 +0100 (CET)
Importance: Normal
User-agent: SquirrelMail/1.4.5-1
Dear S users,

I'm working with Splus 6 under Windows 2000.

I'm using "multinom" function from the "nnet" library,and
encounter the following problem.

I've created an object called "test.multinom" with a call to the
"multinom" function. Then I call "add1.multinom" with this object
as follows:

> add1.multinom(test.multinom,scope= ~.^2)

and get the error message:

Problem in formula$terms: function "$" not defined for non-vector class
"multinom"

Does anybody have a clue what could be the cause of this error?

Thanks for your help.

-Ad Feelders

<Prev in Thread] Current Thread [Next in Thread>
  • adding terms in multinom, ad <=