[Splm-commits] r224 - in pkg: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Feb 24 18:54:10 CET 2020
Author: gpiras
Date: 2020-02-24 18:54:10 +0100 (Mon, 24 Feb 2020)
New Revision: 224
Modified:
pkg/ChangeLog
pkg/R/spgm.R
Log:
fix in spgm
Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog 2019-10-02 20:25:50 UTC (rev 223)
+++ pkg/ChangeLog 2020-02-24 17:54:10 UTC (rev 224)
@@ -1,6 +1,8 @@
Changes in Version 1.5-0
o Fixed effects methods (spfeml) are now based on the data transformation infrastructure of plm, so that (as already happens in spreml) calls to panel functions in the formula are supported: e.g., to slag() to do Spatial Durbin models
+ o spgm crash in check --as-cran fixed (temporarily)
+
Changes in Version 1.4-11
o Fixed fixed effects
Modified: pkg/R/spgm.R
===================================================================
--- pkg/R/spgm.R 2019-10-02 20:25:50 UTC (rev 223)
+++ pkg/R/spgm.R 2020-02-24 17:54:10 UTC (rev 224)
@@ -42,7 +42,7 @@
-if(model == "within" && attr(terms(formula), "intercept") == 0 ) formula <- as.formula(paste(attr(terms(formula),"variables")[1+attr(terms(formula),"response")], paste(attr(terms(formula),"term.labels"), collapse="+"), sep="~"))
+if(model == "fixed" & !isTRUE(attr(terms(formula), "intercept")) ) formula <- as.formula(paste(attr(terms(formula),"variables")[1+attr(terms(formula),"response")], paste(attr(terms(formula),"term.labels"), collapse="+"), sep="~"))
More information about the Splm-commits
mailing list