[Rsiena-help] Exclude effects

Manuel Hopp Manuel.Hopp at FAU.de
Mon Nov 6 09:51:35 CET 2017


Hi Filippo,

this error is a bug in 1.2-3 and was already fixed in the newst RSIENA 
Version 1.2-4. Unfortunatelly it's not yet available via CRAN. So please 
just use the following command line to install the current version via 
R-Forge:

    install.packages("RSiena", repos="http://R-Forge.R-project.org")

Kind regards,
Manuel


Am 06.11.2017 um 09:33 schrieb Filippo Santi:
> Dear All,
>
> I am having some problems with the 'include = FALSE' argument in the 
> 'includeEffects()' function.
>
>
> *The code I am typing is *
> *
> *
> *friend_effects <- includeEffects(friend_effects, *
> * totSim, *
> * interaction1 = 'fr4wave', *
> * name = 'smoke_behav', *
> * include = FALSE) *
>
> but it returns this error to me
>
> Error in `row.names<-.data.frame`(`*tmp*`, value = 1:nrow(specs)) :
>   invalid 'row.names' length
>
> *I already estimated a model with 8 effects, defined previously as 
> follows* (no problem arose until I tried to switch off one of the 
> effects previously included)
>
> friend_effects <- getEffects(friend)
> friend_effects <- includeEffects(friend_effects,
>                                  sameX,
>                                  interaction1 = 'gender',
>                                  name = 'fr4wave')
> friend_effects <- includeEffects(friend_effects,
>                                  egoX,
>                                  interaction1 = 'smoke_behav',
>                                  name = 'fr4wave')
> friend_effects <- includeEffects(friend_effects,
>                                  altX,
>                                  interaction1 = 'smoke_behav',
>                                  name = 'fr4wave')
> friend_effects <- includeEffects(friend_effects,
>                                  sameX,
>                                  interaction1 = 'smoke_behav',
>                                  name = 'fr4wave')
> friend_effects <- includeEffects(friend_effects,
>                                  avSim,
>                                  interaction1 = 'fr4wave',
>                                  name = 'smoke_behav')
> friend_effects <- includeEffects(friend_effects,
>                                  totSim,
>                                  interaction1 = 'fr4wave',
>                                  name = 'smoke_behav')
> friend_effects <- includeEffects(friend_effects,
>                                  recip,
>                                  name = 'fr4wave')
> friend_effects <- includeEffects(friend_effects,
>                                  transTrip,
>                                  name = 'fr4wave')
>
> *I am using the following RSiena version*
>
> Package:	RSiena
> Type:	Package
> Version:	1.2-3
> Date:	2017-09-08
> Depends:	R (>= 3.0.0)
> Imports:	Matrix
> Suggests:	tcltk, network, codetools, lattice, MASS, parallel, xtable, 
> tools, utils
> SystemRequirements:	GNU make, tcl/tk 8.5, Tktable
> License:	GPL-2
> LazyData:	yes
> NeedsCompilation:	yes
> BuildResaveData:	no
>
> I checked on the RSiena documentation webpage for some scripts, and it 
> looks I am typing the right piece of code. Any suggestion?
>
> Best,
>
> Filippo
>
>
>
> _______________________________________________
> Rsiena-help mailing list
> Rsiena-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help

-- 
Manuel Hopp

Friedrich-Alexander-Universität Erlangen-Nürnberg
Lehrstuhl für Pädagogische Psychologie und Exzellenzforschung
Regensburger Straße 160
D-90478 Nürnberg

Tel.: +49 (0)911 5302 - 9108
Fax : +49 (0)911 5302 - 166
E-Mail: manuel.hopp at fau.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20171106/14d1dbed/attachment-0001.html>


More information about the Rsiena-help mailing list