<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br>Boa tarde a todos,<div><br></div><div>Gostaria de uma ajuda com o seguinte:</div><div><br></div><div>Tenho um data frame como esse:</div><div><br></div><div>Animal   Ordem   Data   Especie   Sexo   Peso</div><div>                 1                                                47  </div><div>                 1                                                54</div><div>                 1                                                55</div><div>                 2                                                52</div><div>                 2                                                54</div><div>                 2                                                56</div><div>                 1                                                53</div><div>                 1                                                52</div><div>                 1                                                58</div><div>                 3                                                57</div><div>                 3                                                56</div><div>                 3                                                59</div><div><br></div><div>A estrutura é a seguinte:</div><div><br></div><div><div>data.frame':<span class="Apple-tab-span" style="white-space:pre">    </span>20 obs. of  6 variables:</div><div> $ Animal    : Factor w/ 10 levels "Barcelona","Baronesa",..: 1 4 7 1 4 7 3 2 10 8 ...</div><div> $ Ordem: int  1 1 1 2 2 2 1 1 1 1 ...</div><div> $ Data: Factor w/ 19 levels "01/01/2007","01/02/2004",..: 5 4 2 19 13 8 10 11 15 12 ...</div><div> $ Especie   : Factor w/ 5 levels "","",..: 1 2 3 1 4 5 5 4 4 5 ...</div><div> $ Sexo   : Factor w/ 2 levels "F","M": 2 1 1 1 1 2 2 1 2 2 ...</div><div> $ Peso: num  47 54 55 52 54 56 53 52 58 57 ...</div></div><div><br></div><div>Preciso ordenar  primeiro todo o data.frame <span style="font-size: 12pt;">em ordem crescente </span><span style="font-size: 12pt;">de acordo com a ordem e depois ordenar todo o data.frame de</span></div><div><span style="font-size: 12pt;">acordo com o peso em ordem crescente.</span></div><div><span style="font-size: 12pt;"><br></span></div><div>Agradeço pela ajuda,</div><div><br></div><div>Aline</div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><br></span></div>                                        </div></body>
</html>