[Rsiena-help] Error in initializeFRAN
Tom Snijders
tom.snijders at nuffield.ox.ac.uk
Sun Jul 31 10:47:30 CEST 2016
Dear Eli,
This kind of question should rather be addressed at the Yahoo Siena/Stocnet list,
http://groups.yahoo.com/groups/stocnet/
I do not know what is happening here. My first guess is that some of the team data sets is incorrect. Try to figure out more precisely when the error occurs: start with two groups with identical wave count, then add more groups, etc.
Best wishes,
Tom
================================================================
Tom A.B. Snijders
Professor of Statistics and Methodology
Dept. of Sociology, University of Groningen
Emeritus Fellow, Nuffield College, University of Oxford
Associate Member, Dept. of Statistics, University of Oxford
http://www.stats.ox.ac.uk/~snijders/
From: rsiena-help-bounces at lists.r-forge.r-project.org [mailto:rsiena-help-bounces at lists.r-forge.r-project.org] On Behalf Of Eli Awtrey
Sent: 29 July 2016 20:30
To: rsiena-help at lists.r-forge.r-project.org
Subject: [Rsiena-help] Error in initializeFRAN
Hello...I’m having a problem running a model with a sienaGroup object (~30 subnetworks, 4-5 nodes in each). Each team has the same data arrangement (one dependent, 9 coCovar and 2 coDyadCovar), but differ somewhat in terms of waves and node count.
I can process models for each of these teams individually, but trying to run siena07 with the group object, it returns:
Error in initializeFRAN(z, x, initC = FALSE, ...) :
INTEGER() can only be applied to a 'integer', not a 'list'
My relevant code is pretty basic at this point:
######################
#previously created siena objects for each team, run fine individually
usableGroups <- list(team107,team108,team110,team111,team112,team113,team114,team115,team116,team118,team119,
team122,team123,team127,team129,team130,team131,team132,team134,team136,team138,team139,
team140,team142,team143)
minuteFirstGroup <- sienaGroupCreate(usableGroups)
minuteFirst.effects <- getEffects(minuteFirstGroup)
minuteFirst.algorithm <- sienaAlgorithmCreate()
test <- siena07(minuteFirst.algorithm, data = minuteFirstGroup, effects = minuteFirst.effects, verbose = TRUE)
##########################
I’m using version 1.1-294 of RSiena(), which I downloaded from R-Forge, and I had the same issue with the CRAN version. I looked through the code for robmon() and initializeFRAN() on GitHub, but I can’t quite figure out where the glitch is. Any thoughts or pointers?
Thanks in advance!
Eli Awtrey | University of Washington
Doctoral Candidate, Management and Organization
Michael G. Foster School of Business
http://staff.washington.edu/eawtrey/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20160731/ba8e96ba/attachment.html>
More information about the Rsiena-help
mailing list