sisi1
2010-Nov-24 08:04 UTC
[R] Problems with implementing gwr when categorical variables are included
Hi guyz I have problems running the gwr when I include the categorical/nominal variables with 2 to 3 levels. Could it be that gwr does not cater for such variables? I tried indicating that these variables are factors but this is not helping. Firstly, the cross-validation bandwidth (using gwr.sel) cannot be computed (gives warnings) and the gwr does not give the parameter estimates (Error in abs (coef.se <- xm[, cs.ind, drop = FALSE]) : Non-numeric argument to mathematical function.) I don’t even understand what the error implies. Can somebody help please? Thanks, Sisi1. -- View this message in context: http://r.789695.n4.nabble.com/Problems-with-implementing-gwr-when-categorical-variables-are-included-tp3056778p3056778.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]