<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Bob,<br>
<br>
please replace "drinkingbeh" in the "interaction1=..." option by
the name of the network (which is the common interaction1-value
for the average alter effect) - this should work.<br>
<br>
For these kinds of application questions, actually the other
discussion forum is the good one:<br>
<a class="moz-txt-link-freetext" href="https://groups.yahoo.com/neo/groups/stocnet/info">https://groups.yahoo.com/neo/groups/stocnet/info</a><br>
<br>
Please reserve this one for software programming related issues!<br>
All the best,<br>
Christian<br>
<br>
<br>
On 03-Jan-16 17:59, Bob Faris wrote:<br>
</div>
<blockquote
cite="mid:CAD5GPO6Zp4eqyesehc4kLGmvXfzXqo3YoO48Ww9Y46=iXSww9Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">
<div class="gmail_default" style="font-size:12.8px">Hello all,
I'm relatively new to R and Siena and am analyzing
coevolution data on drinking and friendship, with a focus on
how depression moderates this process. I have been able to
include an interaction term between ego's level of
depression (as a time varying covariate) and alter's
drinking in the network function, but when I try to include
a parallel interaction between ego's depression and alters'
average drinking (avAlt, which is included in the effects
list) on the behavior function, I get an error. I<span
style="font-size:12.8px"> suspect it's something trivial,
but I haven't been able to find a way to get around it and
would be deeply grateful for any assistance. </span></div>
<div class="gmail_default" style="font-size:12.8px"><span
style="font-size:12.8px"><br>
</span></div>
<div class="gmail_default" style="font-size:12.8px">Here's the
code </div>
<div class="gmail_default" style="font-size:12.8px"><br>
</div>
<div class="gmail_default" style="font-size:12.8px">
<div class="gmail_default">> myCoEvolutionEff <-
includeInteraction(myCoEvolutionEff, </div>
<div class="gmail_default">
name = "drinkingbeh", effFrom, avAlt, </div>
<div class="gmail_default">
interaction1=c("depression", "drinkingbeh"))</div>
</div>
<div style="font-family:arial,sans-serif;font-size:12.8px">
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div dir="ltr">Error in
includeInteraction(myCoEvolutionEff, name =
"drinkingbeh", effFrom, : </div>
<div dir="ltr"> Second effect not found</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Thanks
in advance,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Bob
Faris</div>
</div>
</div>
</div>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr"><br>
************************************<br>
Robert Faris, PhD<br>
Associate Professor<br>
Department of Sociology<br>
University of California at Davis<br>
2247 Social Sciences and Humanities<br>
One Shields Avenue<br>
Davis, CA 95616<br>
Cell: 510-221-8876<br>
Fax 530-752-0783<br>
<a moz-do-not-send="true"
href="http://sociology.ucdavis.edu/people/rwfaris"
target="_blank">http://sociology.ucdavis.edu/people/rwfaris</a>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rsiena-help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rsiena-help@lists.r-forge.r-project.org">Rsiena-help@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _
Christian Steglich, University of Groningen
Faculty of Behavioural and Social Sciences
Grote Rozenstraat 31, NL-9712 TG Groningen
<a class="moz-txt-link-freetext" href="http://www.gmw.rug.nl/~steglich/">http://www.gmw.rug.nl/~steglich/</a>
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _
</pre>
</body>
</html>