<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EstiloCorreo21
        {mso-style-type:personal-compose;
        font-family:"Trebuchet MS",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Buenos días.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Necesito calcular en R los residuos estandarizados de unos datos que tienen una variable respuesta continua y tres factores (pero si se complica
 mucho lo podría hacer factor a factor).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Os quería pedir ayuda por si alguien tendría un script con los comandos básicos que hay que utilizar.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US">Graciaspor adelantado<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#44546A">Un saludo.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">Juan Bautista Relloso Barrio<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:4.85pt;margin-right:42.55pt;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt">
<span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B;mso-fareast-language:EN-US">Coordinador de Equipos e Infraestructuras | Técnico de Cultivos del Departamento de Producción Vegetal
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right:42.55pt"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B;mso-fareast-language:EN-US">Talde eta Azpiegitura Koordinatzailea | Laborantza teknikaria Landare Ekoizpen Departamentua
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:4.2pt;line-height:150%"><span style="color:#44546A"><a href="mailto:jbautista@neiker.eus"><span style="font-family:"Trebuchet MS",sans-serif">jbautista@neiker.eus
</span></a></span><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">| M. 688 62 98 14
</span><span style="font-size:10.0pt;line-height:150%;font-family:"Trebuchet MS",sans-serif;color:#55555B"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:4.2pt;line-height:200%"><span style="color:#44546A"><a href="http://www.neiker.eus/"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">www.neiker.eus</span></b></a></span><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">     
         </span></b><a href="https://www.linkedin.com/company/neiker/"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="13" height="15" style="width:.136in;height:.16in" id="Imagen_x0020_7" src="cid:image001.png@01D832DF.75EFDF60"></span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"> </span></b><a href="https://twitter.com/neiker_BRTA"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="19" height="15" style="width:.2in;height:.16in" id="Imagen_x0020_6" src="cid:image002.png@01D832DF.75EFDF60"></span></b></a><a href="https://www.facebook.com/neikerBRTA"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="17" height="15" style="width:.176in;height:.16in" id="Imagen_x0020_5" src="cid:image003.png@01D832DF.75EFDF60"></span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"> </span></b><a href="https://www.youtube.com/user/neikertec"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="20" height="15" style="width:.208in;height:.16in" id="Imagen_x0020_12" src="cid:image004.png@01D832DF.75EFDF60"></span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B"><img border="0" width="300" height="43" style="width:3.128in;height:.448in" id="Imagen_x0020_3" src="cid:image005.png@01D832DF.75EFDF60">        <img border="0" width="98" height="54" style="width:1.024in;height:.56in" id="_x0000_i1035" src="cid:image006.jpg@01D832DF.75EFDF60" alt="ej_ekonomia_garapen_lateral">         </span></b><span style="color:#44546A"> <img border="0" width="40" height="58" style="width:.416in;height:.6in" id="Imagen_x0020_1" src="cid:image007.jpg@01D832DF.75EFDF60" alt="https://www.emakunde.euskadi.eus/contenidos/informacion/violencia_puntolila/eu_def/adjuntos/punto.lila.jpg"></span><b><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span style="color:#44546A"><a href="https://neiker.eus/eu/pribatutasun-politika/"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">PRIBATUTASUN POLITIKA</span></a></span><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">
 | </span><span style="color:#44546A"><a href="https://neiker.eus/es/politica-privacidad/"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">POLÍTICA DE PRIVACIDAD</span></a></span><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">
 | </span><span style="color:#44546A"><a href="https://neiker.eus/en/privacy-policy/"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">LEGAL NOTICE</span></a></span><u><span style="font-size:6.0pt;color:#55555B"><o:p></o:p></span></u></p>
</div>
<p class="MsoNormal"><span style="font-family:"Trebuchet MS",sans-serif;color:#44546A;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>De:</b> Relloso Barrio, Juan Bautista <jbautista@neiker.eus>
<br>
<b>Enviado el:</b> jueves, 10 de febrero de 2022 17:25<br>
<b>Para:</b> Manuel Spínola <mspinola10@gmail.com><br>
<b>CC:</b> r-help-es@r-project.org<br>
<b>Asunto:</b> Re: [R-es] Realizar interacciones entre varios factores con el test no paramétrico de Kruskal walis<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Gracias Manuel.<o:p></o:p></span></p>
</div>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Juan Bautista Relloso Barrio<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Enviado desde mi móvil<o:p></o:p></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Manuel Spínola <<a href="mailto:mspinola10@gmail.com">mspinola10@gmail.com</a>><br>
<b>Sent:</b> Thursday, February 10, 2022 5:15:50 PM<br>
<b>To:</b> Relloso Barrio, Juan Bautista <<a href="mailto:jbautista@neiker.eus">jbautista@neiker.eus</a>><br>
<b>Cc:</b> <a href="mailto:r-help-es@r-project.org">r-help-es@r-project.org</a> <<a href="mailto:r-help-es@r-project.org">r-help-es@r-project.org</a>><br>
<b>Subject:</b> Re: [R-es] Realizar interacciones entre varios factores con el test no paramétrico de Kruskal walis</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Hola Juan, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Yo te recomiendo un modelo lineal general con la función lm.  La normalidad requerida en este caso es de los residuales del modelo, no de lo datos.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Manuel<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">El jue, 10 feb 2022 a las 8:29, Relloso Barrio, Juan Bautista (<<a href="mailto:jbautista@neiker.eus">jbautista@neiker.eus</a>>) escribió:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal"><img border="0" width="3000" height="16" style="width:31.248in;height:.168in" id="Imagen_x0020_2" src="cid:image008.gif@01D832DF.75EFDF60"><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Trebuchet MS",sans-serif">Estoy realizando análisis de varianza con unos datos que no tienen la normalidad necesaria.</span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-family:"Trebuchet MS",sans-serif">Es por esto que estoy utilizando el test no paramétrico de kruskal walis.</span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-family:"Trebuchet MS",sans-serif">Pero no sé como decirle en “R” para que me calcule las interacciones entre los factores analizados.</span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-family:"Trebuchet MS",sans-serif">Un saludo.</span><o:p></o:p></p>
<p class="xmsonormal"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">Juan Bautista Relloso Barrio</span></b><o:p></o:p></p>
<p class="xmsonormal" style="mso-margin-top-alt:5.0pt;margin-right:42.55pt;margin-bottom:0cm;margin-left:0cm">
<span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">Coordinador de Equipos e Infraestructuras | Técnico de Cultivos del Departamento de Producción Vegetal
</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-right:42.55pt"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">Talde eta Azpiegitura Koordinatzailea | Laborantza teknikaria Landare Ekoizpen Departamentua
</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-top:4.2pt;line-height:150%"><a href="mailto:jbautista@neiker.eus" target="_blank"><span style="font-family:"Trebuchet MS",sans-serif">jbautista@neiker.eus
</span></a><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">| M. 688 62 98 14
</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-top:4.2pt;line-height:200%"><a href="http://www.neiker.eus/" target="_blank"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">www.neiker.eus</span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">     
         </span></b><a href="https://www.linkedin.com/company/neiker/" target="_blank"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="13" height="15" style="width:.136in;height:.152in" id="x_gmail-m_6763935818550886259Imagen_x0020_7" src="cid:image001.png@01D832DF.75EFDF60"></span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"> </span></b><a href="https://twitter.com/neiker_BRTA" target="_blank"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="19" height="15" style="width:.2in;height:.152in" id="x_gmail-m_6763935818550886259Imagen_x0020_6" src="cid:image002.png@01D832DF.75EFDF60"></span></b></a><a href="https://www.facebook.com/neikerBRTA" target="_blank"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="17" height="15" style="width:.176in;height:.152in" id="x_gmail-m_6763935818550886259Imagen_x0020_5" src="cid:image003.png@01D832DF.75EFDF60"></span></b></a><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"> </span></b><a href="https://www.youtube.com/user/neikertec" target="_blank"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B;text-decoration:none"><img border="0" width="20" height="15" style="width:.208in;height:.152in" id="x_gmail-m_6763935818550886259Imagen_x0020_4" src="cid:image004.png@01D832DF.75EFDF60"></span></b></a><o:p></o:p></p>
<p class="xmsonormal"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"><img border="0" width="300" height="43" style="width:3.128in;height:.448in" id="x_gmail-m_6763935818550886259Imagen_x0020_3" src="cid:image005.png@01D832DF.75EFDF60"></span></b><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">        </span></b><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"><img border="0" width="98" height="54" style="width:1.024in;height:.56in" id="x_gmail-m_6763935818550886259Imagen_x0020_2" src="cid:image006.jpg@01D832DF.75EFDF60" alt="ej_ekonomia_garapen_lateral"></span></b><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B">         </span></b> <img border="0" width="40" height="58" style="width:.416in;height:.6in" id="x_gmail-m_6763935818550886259Imagen_x0020_1" src="cid:image007.jpg@01D832DF.75EFDF60" alt="https://www.emakunde.euskadi.eus/contenidos/informacion/violencia_puntolila/eu_def/adjuntos/punto.lila.jpg"><o:p></o:p></p>
<p class="xmsonormal"><b><span style="font-family:"Trebuchet MS",sans-serif;color:#55555B"> </span></b><o:p></o:p></p>
<p class="xmsonormal"><a href="https://neiker.eus/eu/pribatutasun-politika/" target="_blank"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">PRIBATUTASUN POLITIKA</span></a><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">
 | </span><a href="https://neiker.eus/es/politica-privacidad/" target="_blank"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">POLÍTICA DE PRIVACIDAD</span></a><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">
 | </span><a href="https://neiker.eus/en/privacy-policy/" target="_blank"><span style="font-size:6.0pt;font-family:"Trebuchet MS",sans-serif;color:#55555B">LEGAL NOTICE</span></a><o:p></o:p></p>
<p class="xmsonormal"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
R-help-es mailing list<br>
<a href="mailto:R-help-es@r-project.org" target="_blank">R-help-es@r-project.org</a><br>
<a href="https://stat.ethz.ch/mailman/listinfo/r-help-es" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-help-es</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><b>Manuel Spínola, Ph.D.</b> <br>
Instituto Internacional en Conservación y Manejo de Vida Silvestre <br>
Universidad Nacional <br>
Apartado 1350-3000 <br>
Heredia <br>
COSTA RICA <br>
<a href="mailto:mspinola@una.ac.cr" target="_blank">mspinola@una.cr</a> <br>
<a href="mailto:mspinola10@gmail.com" target="_blank">mspinola10@gmail.com</a> <br>
Teléfono: (506) 8706 - 4662<br>
Personal website: <a href="https://sites.google.com/site/lobitoderio/" target="_blank">
Lobito de río</a> <br>
Institutional website: <a href="http://www.icomvis.una.ac.cr/" target="_blank">ICOMVIS</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>