I found my error: despite my assurance that I checked everything, I passed a
character vector instead of a numerical vector to the coefficients argument.
I would have never found that through the error message, though.
Volker
----- Original Message -----
From: "Volker Bahn" <lochapoka@web.de>
To: <s-news@wubios.wustl.edu>
Sent: Monday, July 19, 2004 17:18
Subject: problem message in lrt.slm()
| Dear list members,
|
| I received the following error message while running a likelihood ratio
test
| on spatial slm() models (with module(spatial)). I have used this technique
| before successfully, so I'm fairly confident that my arguments are
correctly
| in place. I also double and triple checked the necessary objects that went
| into the calculation of spxxxx.car.j, which might be called by lrt.slm().
| There are no missing values whatsoever in my dataframes. I'm completely at
a
| loss understanding this error message and cannot even get to the place of
| the failure in the code (to understand what the "argument 4" might be).
Any
| help would be appreciated.
|
| ## System Information
| Version 6.0.1 Release 1 for Linux 2.2.12 : 2001
|
| > lrt.slm(spxxxx.car.j, 0, trend.vect)
| Problem in .C("spatial_multiply",: subroutine spatial_multiply: Missing
| values in argument 4
| Use traceback() to see the call stack
| > traceback()
| 9: eval(action, sys.parent())
| 8: doErrorAction("Problem in .C(\"spatial_multiply\",: subroutine
| spatial_multiply: Missing values in argument 4",
| 7: .C("spatial_multiply",
| 6: spatial.multiply(spatial.arglist$neighbor, x, transpose = T, parameters
=
| 5: x - spatial.multiply(spatial.arglist$neighbor, x, transpose = T,
| parameters =
| 4: cov.family$solve.fun(parameters, fitted, spatial.arglist, initial)
| 3: objective.fixed(parameters)
| 2: lrt.slm(spxxxx.car.j, 0, trend.vect)
| 1:
| Message: Problem in .C("spatial_multiply",: subroutine spatial_multiply:
| Missing values in argument 4
| >
|
| _______________________________
|
| Volker Bahn
|
| Dept. of Wildlife Ecology - Rm. 210
| University of Maine
| 5755 Nutting Hall
| Orono, Maine
| 04469-5755, USA
| Tel. (207) 581 2799
| Fax: (207) 581 2858
| volker.bahn@umit.maine.edu
| http://www.wle.umaine.edu/used_text%20files/Volker%20Bahn/home.htm
|
|
|