<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.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=PT-BR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Faça assim: y[round(x,0)==71]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;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><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>De:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> R-br [mailto:r-br-bounces@listas.c3sl.ufpr.br] <b>Em nome de </b>Alessandro Corrêa<br><b>Enviada em:</b> quinta-feira, 30 de abril de 2015 11:45<br><b>Para:</b> R-br@listas.c3sl.ufpr.br<br><b>Assunto:</b> [R-br] Lista condicionada<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Prezados, estou com um exercício aparentemente simples mas que não consigo resolver de forma rápida.<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Estou com os seguintes dados Galton<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>install.packages("UsingR")<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>library(UsingR)<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>x=father.son$fheight<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>y=father.son$sheight<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Preciso criar uma lista com os dados de alturas dos filhos (y) que têm pais com 71 polegadas de altura (x).<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Qual a maneira mais simples de gerar essa lista?<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Abraços a todos.<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'>Alessandro<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div><div id="yui_3_16_0_1_1430404084997_34766"><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica",sans-serif;color:black'><o:p> </o:p></span></p></div></div></div>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by Avast antivirus software.
<br><a href="http://www.avast.com/">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</body></html>