Skip to content
Prev 16136 / 29559 Next

Please help to solve error of spml model in SPLM of R

On Wed, 26 Sep 2012, gum hwang wrote:

            
You must check the lengths of each variable used - simplify to:

lm(mr2.tent ~ Census, data = mega.data)

first. If the error is still there, you know which variables to check. 
This is very basic stuff, if you have missing values, you must drop those 
observations. Try any(is.na()) too on each variable to find NAs.

Roger