Skip to content
Prev 32758 / 398525 Next

(no subject)

On Mon, 02 Jun 2003 12:34:47 +0200, you wrote:

            
This is unlikely to be due to a scarcity of resources; that should
give a different error message.

What the message says is that at some point you (or a function you
call) are calling the var() function and passing it NA values where it
doesn't want them.  You can use the traceback() function after the
error to see where the call occurs. 

If the NA values should be removed, then you need to make sure that
na.rm = TRUE when this call occurs.  If the NA values shouldn't be
there, then you need to find why they are, and fix your code.

Duncan Murdoch