[Splm-commits] r115 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed May 25 21:32:16 CEST 2011
Author: gpiras
Date: 2011-05-25 21:32:13 +0200 (Wed, 25 May 2011)
New Revision: 115
Modified:
pkg/R/bsjktest.formula.R
Log:
Only try commit
Modified: pkg/R/bsjktest.formula.R
===================================================================
--- pkg/R/bsjktest.formula.R 2011-05-25 19:30:26 UTC (rev 114)
+++ pkg/R/bsjktest.formula.R 2011-05-25 19:32:13 UTC (rev 115)
@@ -2,11 +2,11 @@
function(x, data, index=NULL, listw, test=c("C.1","C.2","C.3","J"), ...){
## transform listw if needed
-# if("listw" %in% class(listw)) {
-# w <- listw2mat(listw)
-# } else {
-# w <- listw
-# }
+ if("listw" %in% class(listw)) {
+ w <- listw2mat(listw)
+ } else {
+ w <- listw
+ }
## transform data if needed
if(!is.null(index)) {
More information about the Splm-commits
mailing list