[Rsiena-commits] r28 - pkg/RSiena/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 14 03:40:15 CET 2009
Author: ripleyrm
Date: 2009-12-14 03:40:14 +0100 (Mon, 14 Dec 2009)
New Revision: 28
Modified:
pkg/RSiena/R/simstatsc.r
Log:
Fix to problem with multiple processors
Modified: pkg/RSiena/R/simstatsc.r
===================================================================
--- pkg/RSiena/R/simstatsc.r 2009-12-14 02:37:25 UTC (rev 27)
+++ pkg/RSiena/R/simstatsc.r 2009-12-14 02:40:14 UTC (rev 28)
@@ -196,6 +196,7 @@
f$returnDeps <- NULL
f$depNames <- NULL
f$groupNames <- NULL
+ f$nGroup <- NULL
}
##browser()
pData <- .Call('setupData', PACKAGE="RSiena",
@@ -234,6 +235,7 @@
{
myeffects <- ff$myeffects
returnDeps <- ff$returnDeps
+ nGroup <- ff$nGroup
}
## remove interaction effects and save till later
basicEffects <- lapply(myeffects, function(x)
@@ -326,6 +328,7 @@
f$returnDeps <- returnDeps
f$depNames <- names(f[[1]]$depvars)
f$groupNames <- names(f)[1:nGroup]
+ f$nGroup <- nGroup
if (!initC)
{
z$f <- f
More information about the Rsiena-commits
mailing list