<div dir="ltr">Thanks Manuel, now it works. Hava a good day,<div><br></div><div>Best, </div><div><br></div><div>Filippo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-06 9:51 GMT+01:00 Manuel Hopp <span dir="ltr"><<a href="mailto:Manuel.Hopp@fau.de" target="_blank">Manuel.Hopp@fau.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Filippo,</p>
    <p>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:</p>
    <blockquote>
      <p>install.packages("RSiena",
        repos=<a class="m_-3831895657027619990moz-txt-link-rfc2396E" href="http://R-Forge.R-project.org" target="_blank">"http://R-Forge.R-<wbr>project.org"</a>)</p>
    </blockquote>
    <p>Kind regards,<br>
      Manuel<br>
    </p><div><div class="h5">
    <br>
    <div class="m_-3831895657027619990moz-cite-prefix">Am 06.11.2017 um 09:33 schrieb Filippo
      Santi:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      
      <div dir="ltr">
        <div>Dear All, </div>
        <div><br>
        </div>
        <div>I am having some problems with the 'include = FALSE'
          argument in the 'includeEffects()' function.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><b>The code I am typing is </b></div>
        <div><b><br>
          </b></div>
        <div>
          <div><b>friend_effects <- includeEffects(friend_effects,<wbr> </b></div>
          <div><b>                                                     
               totSim, </b></div>
          <div><b>                                                     
               interaction1 = 'fr4wave', </b></div>
          <div><b>                                                     
               name = 'smoke_behav', </b></div>
          <div><b>                                                     
               include = FALSE)          </b></div>
        </div>
        <div><br>
        </div>
        <div>but it returns this error to me</div>
        <div><br>
        </div>
        <div>
          <div><font color="#ff0000">Error in
              `row.names<-.data.frame`(`*<wbr>tmp*`, value =
              1:nrow(specs)) : </font></div>
          <div><font color="#ff0000">  invalid 'row.names' length</font></div>
        </div>
        <div><br>
        </div>
        <div><b>I already estimated a model with 8 effects, defined
            previously as follows</b> (no problem arose until I tried to
          switch off one of the effects previously included) </div>
        <div><br>
        </div>
        <div>
          <div>friend_effects <- getEffects(friend)</div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                 </div>
          <div>                                 sameX,                 
              </div>
          <div>                                 interaction1 =
            'gender',   </div>
          <div>                                 name = 'fr4wave')    </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
              </div>
          <div>                                 egoX,                   
                 </div>
          <div>                                 interaction1 =
            'smoke_behav',  </div>
          <div>                                 name = 'fr4wave')       
                   </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                     </div>
          <div>                                 altX,                   
                </div>
          <div>                                 interaction1 =
            'smoke_behav',    </div>
          <div>                                 name = 'fr4wave')       
                 </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                    </div>
          <div>                                 sameX,                 
                  </div>
          <div>                                 interaction1 =
            'smoke_behav',  </div>
          <div>                                 name = 'fr4wave')       
                  </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                </div>
          <div>                                 avSim,                 
             </div>
          <div>                                 interaction1 =
            'fr4wave',  </div>
          <div>                                 name = 'smoke_behav')   
              </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                 </div>
          <div>                                 totSim,                 
              </div>
          <div>                                 interaction1 =
            'fr4wave',   </div>
          <div>                                 name = 'smoke_behav') 
              </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
               </div>
          <div>                                 recip,                 </div>
          <div>                                 name = 'fr4wave')       
             </div>
          <div>friend_effects <- includeEffects(friend_effects,<wbr>     
                </div>
          <div>                                 transTrip,             
              </div>
          <div>                                 name = 'fr4wave')   </div>
          <div><br>
          </div>
          <div><b>I am using the following RSiena version</b></div>
          <div><br>
          </div>
          <table summary="Rd table" style="color:rgb(0,0,0);font-family:sans-serif;font-size:13.3333px">
            <tbody>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Package:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">RSiena</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Type:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">Package</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Version:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">1.2-3</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Date:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">2017-09-08</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Depends:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">R
                  (>= 3.0.0)</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Imports:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">Matrix</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">Suggests:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">tcltk,
                  network, codetools, lattice, MASS, parallel, xtable,
                  tools, utils</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">SystemRequirements:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">GNU
                  make, tcl/tk 8.5, Tktable</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">License:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">GPL-2<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">LazyData:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">yes</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">NeedsCompilation:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">yes</td>
              </tr>
              <tr>
                <td style="font-family:sans-serif;font-size:10pt">BuildResaveData:<span class="m_-3831895657027619990gmail-Apple-converted-space"> </span></td>
                <td style="font-family:sans-serif;font-size:10pt">no</td>
              </tr>
            </tbody>
          </table>
          <div>      </div>
        </div>
        <div>
          <div>I checked on the RSiena documentation webpage for some
            scripts, and it looks I am typing the right piece of code.
            Any suggestion?</div>
        </div>
        <div><br>
        </div>
        <div>Best, </div>
        <div><br>
        </div>
        <div>Filippo</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="m_-3831895657027619990mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Rsiena-help mailing list
<a class="m_-3831895657027619990moz-txt-link-abbreviated" href="mailto:Rsiena-help@lists.r-forge.r-project.org" target="_blank">Rsiena-help@lists.r-forge.r-<wbr>project.org</a>
<a class="m_-3831895657027619990moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/rsiena-help</a></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_-3831895657027619990moz-signature" cols="72">-- 
Manuel Hopp

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

Tel.: <a href="tel:+49%20911%2053029108" value="+4991153029108" target="_blank">+49 (0)911 5302 - 9108</a>
Fax : <a href="tel:+49%20911%205302166" value="+499115302166" target="_blank">+49 (0)911 5302 - 166</a>
E-Mail: <a class="m_-3831895657027619990moz-txt-link-abbreviated" href="mailto:manuel.hopp@fau.de" target="_blank">manuel.hopp@fau.de</a></pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
Rsiena-help mailing list<br>
<a href="mailto:Rsiena-help@lists.r-forge.r-project.org">Rsiena-help@lists.r-forge.r-<wbr>project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/rsiena-help</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Filippo Santi</div><div dir="ltr">PhD Candidate in Development Economics<br><div>mobile +39 3283540720 skype filippo.santi</div></div></div></div></div></div></div>
</div>